This low-key shouldn't be in logger
This commit is contained in:
parent
f495cec5ba
commit
d89db7a5a1
@ -41,7 +41,6 @@ class Logger {
|
|||||||
this.conf = conf; // effective immediately
|
this.conf = conf; // effective immediately
|
||||||
// also persist settings:
|
// also persist settings:
|
||||||
if (currentBrowser.firefox || currentBrowser.edge) {
|
if (currentBrowser.firefox || currentBrowser.edge) {
|
||||||
extensionConf.version = this.version;
|
|
||||||
return browser.storage.local.set( {'uwLogger': JSON.stringify(this.conf)});
|
return browser.storage.local.set( {'uwLogger': JSON.stringify(this.conf)});
|
||||||
} else if (currentBrowser.chrome) {
|
} else if (currentBrowser.chrome) {
|
||||||
return chrome.storage.local.set( {'uwLogger': JSON.stringify(this.logger)});
|
return chrome.storage.local.set( {'uwLogger': JSON.stringify(this.logger)});
|
||||||
|
Loading…
Reference in New Issue
Block a user