diff options
author | gorhill <rhill@raymondhill.net> | 2015-06-06 14:09:59 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-06-06 14:09:59 -0400 |
commit | a364a869f5eed82f291b37ff2874be13faa8c87a (patch) | |
tree | 7442c8f433ea32adef68704361669210aa977664 /platform | |
parent | a0d5a1b25a161fdf1a9c0d65b00b3d7b9fc09e22 (diff) | |
download | uBlock-a364a869f5eed82f291b37ff2874be13faa8c87a.zip uBlock-a364a869f5eed82f291b37ff2874be13faa8c87a.tar.gz uBlock-a364a869f5eed82f291b37ff2874be13faa8c87a.tar.bz2 |
this takes care of https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979
Diffstat (limited to 'platform')
-rw-r--r-- | platform/firefox/vapi-background.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index f062a50..5e8924e 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -122,6 +122,10 @@ vAPI.browserSettings = { return; } var value = this.originalValues[key]; + // https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979 + // Forget the value immediately, it may change outside of + // uBlock control. + delete this.originalValues[key]; // Original value was a default one if ( value === undefined ) { try { |