mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review
This commit is contained in:
parent
69ec33dc3a
commit
7373fb77f5
1 changed files with 1 additions and 9 deletions
|
|
@ -142,16 +142,8 @@ vAPI.browserSettings = {
|
|||
return;
|
||||
}
|
||||
|
||||
// Current value is same as original
|
||||
if ( this.getValue(path, setting) === value ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Reset to original value
|
||||
try {
|
||||
this.setValue(path, setting, value);
|
||||
} catch (ex) {
|
||||
}
|
||||
this.setValue(path, setting, value);
|
||||
},
|
||||
|
||||
getValue: function(path, setting) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue