diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index 5e37ec3edeff2653bf9159875b264adbdbaa42d6..b0fc0cad68a42d7eb14b5973564edd23a5fabed1 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -356,7 +356,8 @@ function setupAutocomplete() { * @returns {undefined} */ function keyboardShortcuts() { - if ($('.pager').length > 0) { + var $searchform = $('#searchForm_lookfor'); + if ($('.pager').length > 0 && !$searchForm.is(':focus')) { $(window).keydown(function(e) { $target = null; switch (e.keyCode) {