mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
Remove useless code
This commit is contained in:
parent
f9e680f111
commit
1fb9845c35
@ -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 New Issue
Block a user