1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

Remove useless code

This commit is contained in:
Raymond Hill 2019-07-04 14:10:23 -04:00
parent f9e680f111
commit 1fb9845c35
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 1 additions and 4 deletions

View File

@ -87,7 +87,7 @@ const µBlock = (function() { // jshint ignore:line
},
hiddenSettingsDefault: hiddenSettingsDefault,
hiddenSettings: (function() {
hiddenSettings: (( ) => {
const out = Object.assign({}, hiddenSettingsDefault);
const json = vAPI.localStorage.getItem('immediateHiddenSettings');
if ( typeof json !== 'string' ) { return out; }

View File

@ -120,9 +120,6 @@
: 'unset';
}
}
if ( vAPI.localStorage.getItem('immediateHiddenSettings') === null ) {
this.saveImmediateHiddenSettings();
}
self.log.verbosity = this.hiddenSettings.consoleLogLevel;
resolve();
});