Re-enable jshint on editor and fixup issues

This commit is contained in:
Nick O'Leary
2020-01-22 11:53:41 +00:00
parent ee6f6ae391
commit 9d4238e5cc
9 changed files with 38 additions and 42 deletions

View File

@@ -56,8 +56,9 @@ RED.settings = (function () {
if (key === "auth-tokens") {
return JSON.parse(localStorage.getItem(key));
} else {
var v;
try {
var v = RED.utils.getMessageProperty(userSettings,key);
v = RED.utils.getMessageProperty(userSettings,key);
if (v === undefined) {
v = defaultIfUndefined;
}