diff --git a/themes/bootstrap3/js/autocomplete.js b/themes/bootstrap3/js/autocomplete.js index 3641089258bd74131db385706201a2ad7d2e1779..2bd5c7df2dab3599b2a9f85f1f1026dfc32be49c 100644 --- a/themes/bootstrap3/js/autocomplete.js +++ b/themes/bootstrap3/js/autocomplete.js @@ -140,7 +140,7 @@ input.keyup(function(event) { // Ignore navigation keys // - Ignore control functions - if (event.ctrlKey) { + if (event.ctrlKey || event.which === 17) { return; } // - Function keys (F1 - F15) @@ -171,6 +171,10 @@ } }); input.keydown(function(event) { + // - Ignore control functions + if (event.ctrlKey || event.which === 17) { + return; + } var element = $.fn.autocomplete.element; var position = $(this).data('selected'); switch (event.which) {