Change TreeStyleTabUtils.prefs to simple getter.
This commit is contained in:
parent
7cb71a7f42
commit
af929f6858
@ -57,8 +57,7 @@ const TST_PREF_PREFIX = 'extensions.treestyletab.';
|
||||
let TreeStyleTabUtils = {
|
||||
|
||||
get prefs () {
|
||||
delete this.prefs;
|
||||
return this.prefs = prefs;
|
||||
return prefs;
|
||||
},
|
||||
|
||||
/* Save/Load Prefs */
|
||||
|
Loading…
x
Reference in New Issue
Block a user