mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Remove useless code
This commit is contained in:
parent
f9e680f111
commit
1fb9845c35
2 changed files with 1 additions and 4 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -120,9 +120,6 @@
|
|||
: 'unset';
|
||||
}
|
||||
}
|
||||
if ( vAPI.localStorage.getItem('immediateHiddenSettings') === null ) {
|
||||
this.saveImmediateHiddenSettings();
|
||||
}
|
||||
self.log.verbosity = this.hiddenSettings.consoleLogLevel;
|
||||
resolve();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue