Fix searchbox enter action

This commit is contained in:
Michael Gapczynski 2011-08-27 16:36:15 -04:00
parent 464c75e4b2
commit 0b17a542cb
1 changed files with 1 additions and 1 deletions

View File

@ -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){