Fix saving browser open setting
This commit is contained in:
parent
a357b021ba
commit
debe9959e4
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1335,7 +1335,7 @@
|
|||
};
|
||||
|
||||
ConfigStorage.prototype.deformatValue = function(value, type) {
|
||||
if (type === "object") {
|
||||
if (type === "object" && typeof value === "string") {
|
||||
return value.split("\n");
|
||||
}
|
||||
if (type === "boolean" && !value) {
|
||||
|
|
Loading…
Reference in a new issue