aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background_page.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/background_page.html b/background_page.html
index b2493b3e..ada3e0f0 100644
--- a/background_page.html
+++ b/background_page.html
@@ -425,7 +425,9 @@
}
function init() {
- parseCustomKeyMappings(localStorage["keyMappings"]);
+ if (localStorage["keyMappings"])
+ parseCustomKeyMappings(localStorage["keyMappings"]);
+
populateValidFirstKeys();
populateSingleKeyCommands();
if (shouldShowUpgradeMessage())