diff options
| author | Niklas Baumstark | 2012-01-25 00:21:21 +0100 |
|---|---|---|
| committer | Niklas Baumstark | 2012-04-10 23:54:38 +0200 |
| commit | 3f1fa91d82c88e58273e4010f9b6dabc84088805 (patch) | |
| tree | 925892e1abd69e5d41230a0ee16831feefe7aa92 /fuzzyMode.js | |
| parent | 9fd6faa0d5d0b9cda83e9595054c66822c2cbd72 (diff) | |
| download | vimium-3f1fa91d82c88e58273e4010f9b6dabc84088805.tar.bz2 | |
force update after pressing Return
Diffstat (limited to 'fuzzyMode.js')
| -rw-r--r-- | fuzzyMode.js | 2 |
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; |
