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 = {
|
let TreeStyleTabUtils = {
|
||||||
|
|
||||||
get prefs () {
|
get prefs () {
|
||||||
delete this.prefs;
|
return prefs;
|
||||||
return this.prefs = prefs;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Save/Load Prefs */
|
/* Save/Load Prefs */
|
||||||
|
Loading…
Reference in New Issue
Block a user