Merge pull request #913 from kosmasgiannis/missing_quote

Add missing quotes
This commit is contained in:
Samuel Mannehed 2017-10-06 23:03:55 +02:00 committed by GitHub
commit 9e314b44e2
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ export function readSetting (name, defaultValue) {
if (typeof value === "undefined") {
value = null;
}
if (value === null && typeof defaultValue !== undefined) {
if (value === null && typeof defaultValue !== "undefined") {
return defaultValue;
} else {
return value;