1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

code review

This commit is contained in:
gorhill 2015-08-16 08:58:41 -04:00
parent 69ec33dc3a
commit 7373fb77f5

View File

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