From e70bcd55897cb58bc2f632a46f6e88827dcdb04a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 29 Jan 2013 16:25:14 -0500 Subject: [PATCH] use non-persistent background page --- javascript/options.js | 3 --- manifest.json | 1 + views/options.html | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/javascript/options.js b/javascript/options.js index a3f3b01..682347b 100644 --- a/javascript/options.js +++ b/javascript/options.js @@ -7,9 +7,6 @@ window.addEventListener('load', init, false); -//Get the constants from the background page -var CONSTANTS = chrome.extension.getBackgroundPage().CONSTANTS; - /** * Initializes the i18n strings. * Loads values from localStorage and applies them to the elements diff --git a/manifest.json b/manifest.json index de75f53..a4ff4ff 100644 --- a/manifest.json +++ b/manifest.json @@ -13,6 +13,7 @@ "https://*/*" ], "background": { + "persistent": false, "scripts": [ "javascript/background.js", "javascript/util.js", diff --git a/views/options.html b/views/options.html index ad899fa..29de38a 100644 --- a/views/options.html +++ b/views/options.html @@ -71,6 +71,7 @@ + -- 2.39.2