From af929f68584a5f0c9e46fbad03887b73a233349b Mon Sep 17 00:00:00 2001 From: saneyuki_s Date: Wed, 2 Jan 2013 05:57:37 +0900 Subject: [PATCH] Change TreeStyleTabUtils.prefs to simple getter. --- modules/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/utils.js b/modules/utils.js index 34b760fa..fb2a9407 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -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 */