Skip to content
Snippets Groups Projects
Commit 0b17a542 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix searchbox enter action

parent 464c75e4
Branches
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ $(document).ready(function(){
if(event.keyCode==13){//enter
if(OC.search.currentResult>-1){
var result=$('#searchresults tr.result a')[OC.search.currentResult];
$(result).click();
window.location = $(result).attr('href');
}
}else if(event.keyCode==38){//up
if(OC.search.currentResult>0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment