From ca0622f1ebbe79230bedf3a1b2bf716f9d66b840 Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 9 Mar 2010 20:02:37 -0800 Subject: Fix a bug where if you add a mapping, save, and then remove it -- it won't get actually unmapped. --- background_page.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'background_page.html') 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"]); -- cgit v1.2.3