aboutsummaryrefslogtreecommitdiffstats
path: root/options.html
diff options
context:
space:
mode:
Diffstat (limited to 'options.html')
-rw-r--r--options.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/options.html b/options.html
index 70b8d702..9097c76f 100644
--- a/options.html
+++ b/options.html
@@ -75,7 +75,10 @@
var postSaveHooks = {
"keyMappings": function (value) {
- chrome.extension.getBackgroundPage().parseCustomKeyMappings(value); }
+ backgroundPage = chrome.extension.getBackgroundPage();
+ backgroundPage.clearKeyMappingsAndSetDefaults();
+ backgroundPage.parseCustomKeyMappings(value);
+ }
};
function initializeOptions() {