diff --git a/manifest.json b/manifest.json index 8eedc88..8337f9f 100644 --- a/manifest.json +++ b/manifest.json @@ -17,7 +17,10 @@ "main.js" ] }, - "options_page": "settings.html", + "options_ui": { + "page": "settings.html", + "chrome_style": true + }, "permissions": [ "storage", "http://*/*", diff --git a/settings.js b/settings.js index 741c259..1762dd2 100644 --- a/settings.js +++ b/settings.js @@ -16,6 +16,7 @@ function save_options(evt) { // Update status to let user know options were saved. console.log("saved"); status.textContent = 'Options saved.'; + window.close(); }); }