diff options
author | papush | 2021-04-30 14:28:34 +0200 |
---|---|---|
committer | papush | 2021-04-30 14:28:34 +0200 |
commit | 8183e6fee716b503da0350eddde7e1355146fed5 (patch) | |
tree | 3e9ee21b0646f6055f6b78c1eb95657d468ebf9f /chrome/js | |
parent | 8813a5513d4f267742d00ef573694836a1c92ac9 (diff) |
fix bug that prevented disabling redirections
Diffstat (limited to 'chrome/js')
-rw-r--r-- | chrome/js/redirectorprefs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/js/redirectorprefs.js b/chrome/js/redirectorprefs.js index a0cd366..b456bac 100644 --- a/chrome/js/redirectorprefs.js +++ b/chrome/js/redirectorprefs.js @@ -9,6 +9,7 @@ RedirectorPrefs.prototype = { watch : function(prop_name, cb) { Object.defineProperty(this, prop_name, { + configurable: true, set: function(val) { cb(prop_name, null, val); }, |