Merge pull request #541 from hho/patch-1
Prevent Ctrl-Tab from triggering tab completion
This commit is contained in:
commit
9d5f6f01b3
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) {
|
this.on("keydown.tabcomplete", function(e) {
|
||||||
var key = e.which;
|
var key = e.which;
|
||||||
if (key == keys.tab
|
if (key == keys.tab && !e.ctrlKey
|
||||||
|| (options.arrowKeys && (key == keys.up || key == keys.down))) {
|
|| (options.arrowKeys && (key == keys.up || key == keys.down))) {
|
||||||
|
|
||||||
// Don't lose focus on tab click.
|
// Don't lose focus on tab click.
|
||||||
|
Loading…
Reference in New Issue
Block a user