aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 6ec9f2af..978409bd 100644
--- a/background_page.html
+++ b/background_page.html
@@ -367,6 +367,16 @@
}
}
+ function refreshCompletionKeysAfterMappingSave() {
+ validFirstKeys = {};
+ singleKeyCommands = [];
+
+ populateValidFirstKeys();
+ populateSingleKeyCommands();
+
+ sendRequestToAllTabs({ name: "refreshCompletionKeys", completionKeys: generateCompletionKeys() });
+ }
+
/*
* Generates a list of keys that can complete a valid command given the current key queue or the one passed
* in.