aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzyMode.js
diff options
context:
space:
mode:
authorNiklas Baumstark2012-01-25 00:21:21 +0100
committerNiklas Baumstark2012-04-10 23:54:38 +0200
commit3f1fa91d82c88e58273e4010f9b6dabc84088805 (patch)
tree925892e1abd69e5d41230a0ee16831feefe7aa92 /fuzzyMode.js
parent9fd6faa0d5d0b9cda83e9595054c66822c2cbd72 (diff)
downloadvimium-3f1fa91d82c88e58273e4010f9b6dabc84088805.tar.bz2
force update after pressing Return
Diffstat (limited to 'fuzzyMode.js')
-rw-r--r--fuzzyMode.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzzyMode.js b/fuzzyMode.js
index c3b20096..001bcb32 100644
--- a/fuzzyMode.js
+++ b/fuzzyMode.js
@@ -123,6 +123,8 @@ var fuzzyMode = (function() {
// use primary action with Enter. Holding down Shift/Ctrl uses the alternative action
// (opening in new tab)
else if (event.keyCode == keyCodes.enter) {
+ this.update(true); // force synchronous update
+
var alternative = (event.shiftKey || isPrimaryModifierKey(event));
if (this.reverseAction)
alternative = !alternative;