mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
minor cleanup
This commit is contained in:
parent
376b386b31
commit
4ff068db0a
12 changed files with 63 additions and 28 deletions
|
@ -12,7 +12,7 @@ define(
|
|||
DefaultRootFolderId: 'DefaultRootFolderId'
|
||||
},
|
||||
|
||||
GetValue: function (key, defaultValue) {
|
||||
getValue: function (key, defaultValue) {
|
||||
|
||||
var storeValue = localStorage.getItem(key);
|
||||
|
||||
|
@ -23,11 +23,11 @@ define(
|
|||
return storeValue.toString();
|
||||
},
|
||||
|
||||
SetValue: function (key, value) {
|
||||
setValue: function (key, value) {
|
||||
|
||||
console.log('Config: [{0}] => [{1}] '.format(key, value));
|
||||
|
||||
if (this.GetValue(key) === value.toString()) {
|
||||
if (this.getValue(key) === value.toString()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue