add 3 on key event

This commit is contained in:
marcos 2019-12-13 14:11:12 +01:00
parent 480673521c
commit 2139e0ef84

View File

@ -638,7 +638,7 @@ if ($config['menu_type'] == 'classic') {
function showinterpreter(){ function showinterpreter(){
if(event.keyCode == 1 && $("#result_items li.active").length != 0 ) if(event.keyCode == 13 && $("#result_items li.active").length != 0 )
{ {
window.location = $('#result_items').find("li.active a").attr('href'); window.location = $('#result_items').find("li.active a").attr('href');
} }