fix: change setting when value is false
This commit is contained in:
parent
9c30427af9
commit
d493d6f5b6
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
|
@ -980,7 +980,7 @@ function editsettings()
|
||||||
|
|
||||||
function editsetting(name)
|
function editsetting(name)
|
||||||
{
|
{
|
||||||
if (settings[name])
|
if (typeof settings[name] != "undefined")
|
||||||
{
|
{
|
||||||
var value = settings[name];
|
var value = settings[name];
|
||||||
var type = typeof value;
|
var type = typeof value;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue