Fixed: UI loads properly even if UI settings cannot be persisted

pull/6/head
Mark McDowall 10 years ago
parent 085d10851a
commit 9cafeec771

@ -38,9 +38,13 @@ define(
return;
}
try {
window.localStorage.setItem(key, value);
vent.trigger(this.Events.ConfigUpdatedEvent, {key: key, value: value});
}
catch (error) {
console.error('Unable to save config: [{0}] => [{1}]'.format(key, value));
}
}
};
});

Loading…
Cancel
Save