From 8183e6fee716b503da0350eddde7e1355146fed5 Mon Sep 17 00:00:00 2001 From: papush Date: Fri, 30 Apr 2021 14:28:34 +0200 Subject: fix bug that prevented disabling redirections --- chrome/js/redirectorprefs.js | 1 + 1 file changed, 1 insertion(+) 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); }, -- cgit v1.2.3-70-g09d2