mirror of
https://github.com/thelounge/thelounge
synced 2025-02-17 13:48:26 +00:00
Merge pull request #541 from hho/patch-1
Prevent Ctrl-Tab from triggering tab completion
This commit is contained in:
commit
9d5f6f01b3
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue