mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-26 12:22:50 +01:00
code review
This commit is contained in:
parent
69ec33dc3a
commit
7373fb77f5
@ -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) {
|
||||
}
|
||||
},
|
||||
|
||||
getValue: function(path, setting) {
|
||||
|
Loading…
Reference in New Issue
Block a user