mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
this takes care of https://github.com/gorhill/uBlock/issues/292#issuecomment-109621979
This commit is contained in:
parent
a0d5a1b25a
commit
a364a869f5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user