aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorilya2010-03-09 20:02:37 -0800
committerilya2010-03-09 20:02:37 -0800
commitca0622f1ebbe79230bedf3a1b2bf716f9d66b840 (patch)
tree6854612106367499adc47530b73a4dfd472f707d /background_page.html
parentfbbba41b8bfd4ff7d32f09cbfa0774e13ae92973 (diff)
downloadvimium-ca0622f1ebbe79230bedf3a1b2bf716f9d66b840.tar.bz2
Fix a bug where if you add a mapping, save, and then remove it -- it won't get actually unmapped.
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 4c075899..80bbbb9b 100644
--- a/background_page.html
+++ b/background_page.html
@@ -496,6 +496,8 @@
}
function init() {
+ clearKeyMappingsAndSetDefaults();
+
if (localStorage["keyMappings"])
parseCustomKeyMappings(localStorage["keyMappings"]);