1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

this will still work if ever we use longer branches

This commit is contained in:
gorhill 2015-06-05 09:36:24 -04:00
parent 9706e8ab24
commit 81bb75cd5e

View File

@ -202,7 +202,7 @@ vAPI.browserSettings = {
if ( this.originalValues.hasOwnProperty(key) === false ) { if ( this.originalValues.hasOwnProperty(key) === false ) {
continue; continue;
} }
pos = key.indexOf('.'); pos = key.lastIndexOf('.');
this.clear(key.slice(0, pos), key.slice(pos + 1)); this.clear(key.slice(0, pos), key.slice(pos + 1));
} }
} }