Removed temporary changes used to test on localhost.
This commit is contained in:
@@ -46,8 +46,6 @@ function initBody() {
|
|||||||
* other things.
|
* other things.
|
||||||
*/
|
*/
|
||||||
// Read the json file
|
// Read the json file
|
||||||
readJSON("config.json");
|
|
||||||
return;
|
|
||||||
BROWSER.storage.sync.get(result => {
|
BROWSER.storage.sync.get(result => {
|
||||||
Object.keys(result).length == 0 ? readJSON("config.json") : parseAndCreate(result)
|
Object.keys(result).length == 0 ? readJSON("config.json") : parseAndCreate(result)
|
||||||
})
|
})
|
||||||
@@ -173,7 +171,6 @@ function readJSON(fileName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function saveSettings(settings) {
|
function saveSettings(settings) {
|
||||||
return;
|
|
||||||
BROWSER.storage.sync.set(settings)
|
BROWSER.storage.sync.set(settings)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user