Fix searchbox enter action
This commit is contained in:
parent
464c75e4b2
commit
0b17a542cb
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue