diff options
-rw-r--r-- | wqflask/wqflask/static/new/javascript/search_results.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/search_results.js b/wqflask/wqflask/static/new/javascript/search_results.js index 355fd18e..8ab41f25 100644 --- a/wqflask/wqflask/static/new/javascript/search_results.js +++ b/wqflask/wqflask/static/new/javascript/search_results.js @@ -130,6 +130,13 @@ $(function() { }) } + $(window).keydown(function(event){ + if((event.keyCode == 13)) { + event.preventDefault(); + return false; + } + }); + $('#select_top').keyup(function(event){ if (event.keyCode === 13) { filter_by_index() |