gorhill 2015-06-06 14:09:59 -04:00
parent a0d5a1b25a
commit a364a869f5
1 changed files with 4 additions and 0 deletions

View File

@ -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 {