Prevent Ctrl-Tab from triggering tab completion
Fixes #529 This is probably the simplest workaround for Firefox sending a keydown event when switching browser tabs via Ctrl-Tab
This commit is contained in:
parent
376fdee8b1
commit
08d3633ae2
2
client/js/libs/jquery/tabcomplete.js
vendored
2
client/js/libs/jquery/tabcomplete.js
vendored
@ -112,7 +112,7 @@
|
||||
|
||||
this.on("keydown.tabcomplete", function(e) {
|
||||
var key = e.which;
|
||||
if (key == keys.tab
|
||||
if (key == keys.tab && !e.ctrlKey
|
||||
|| (options.arrowKeys && (key == keys.up || key == keys.down))) {
|
||||
|
||||
// Don't lose focus on tab click.
|
||||
|
Loading…
Reference in New Issue
Block a user