Fix saving browser open setting

This commit is contained in:
shortcutme 2018-07-21 04:24:35 +02:00
parent a357b021ba
commit debe9959e4
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ class ConfigStorage extends Class
return value
deformatValue: (value, type) ->
if type == "object"
if type == "object" and typeof(value) == "string"
return value.split("\n")
if type == "boolean" and not value
return false