This low-key shouldn't be in logger

This commit is contained in:
Tamius Han 2019-09-17 22:13:31 +02:00
parent f495cec5ba
commit d89db7a5a1

View File

@ -41,7 +41,6 @@ class Logger {
this.conf = conf; // effective immediately
// also persist settings:
if (currentBrowser.firefox || currentBrowser.edge) {
extensionConf.version = this.version;
return browser.storage.local.set( {'uwLogger': JSON.stringify(this.conf)});
} else if (currentBrowser.chrome) {
return chrome.storage.local.set( {'uwLogger': JSON.stringify(this.logger)});