Skip to content
Permalink
Browse files

[enh] submit search on suggestion select - closes #807

  • Loading branch information
asciimoo committed Mar 23, 2020
1 parent 65cae85 commit 9a2f26d915ee05d933a18c31bca2121658aa7ffd
@@ -86,6 +86,9 @@ $(document).ready(function(){
},
source: searx.searchResults.ttAdapter()
});
$('#q').bind('typeahead:selected', function(ev, suggestion) {
$("#search_form").submit();
});
}
});
;/**

Some generated files are not rendered by default. Learn more.

@@ -33,5 +33,8 @@ $(document).ready(function(){
},
source: searx.searchResults.ttAdapter()
});
$('#q').bind('typeahead:selected', function(ev, suggestion) {
$("#search_form").submit();
});
}
});

0 comments on commit 9a2f26d

Please sign in to comment.
You can’t perform that action at this time.