Merge pull request #432 from saneyuki/getter
Change TreeStyleTabUtils.prefs to simple getter
This commit is contained in:
commit
fc32a2e31b
@ -63,8 +63,7 @@ const TST_PREF_PREFIX = 'extensions.treestyletab.';
|
||||
let TreeStyleTabUtils = {
|
||||
|
||||
get prefs () {
|
||||
delete this.prefs;
|
||||
return this.prefs = prefs;
|
||||
return prefs;
|
||||
},
|
||||
|
||||
/* Save/Load Prefs */
|
||||
|
Loading…
Reference in New Issue
Block a user