1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-26 12:22:50 +01: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) {
}
},
getValue: function(path, setting) {