aboutsummaryrefslogtreecommitdiff
path: root/chrome/js
diff options
context:
space:
mode:
authorpapush2021-04-30 14:28:34 +0200
committerpapush2021-04-30 14:28:34 +0200
commit8183e6fee716b503da0350eddde7e1355146fed5 (patch)
tree3e9ee21b0646f6055f6b78c1eb95657d468ebf9f /chrome/js
parent8813a5513d4f267742d00ef573694836a1c92ac9 (diff)
fix bug that prevented disabling redirections
Diffstat (limited to 'chrome/js')
-rw-r--r--chrome/js/redirectorprefs.js1
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);
},