mirror of
https://github.com/searxng/searxng
synced 2024-11-16 21:25:37 +00:00
[enh] submit search on suggestion select - closes #807
This commit is contained in:
parent
65cae85735
commit
9a2f26d915
@ -86,6 +86,9 @@ $(document).ready(function(){
|
|||||||
},
|
},
|
||||||
source: searx.searchResults.ttAdapter()
|
source: searx.searchResults.ttAdapter()
|
||||||
});
|
});
|
||||||
|
$('#q').bind('typeahead:selected', function(ev, suggestion) {
|
||||||
|
$("#search_form").submit();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
;/**
|
;/**
|
||||||
|
BIN
searx/static/themes/oscar/js/searx.min.js
vendored
BIN
searx/static/themes/oscar/js/searx.min.js
vendored
Binary file not shown.
@ -33,5 +33,8 @@ $(document).ready(function(){
|
|||||||
},
|
},
|
||||||
source: searx.searchResults.ttAdapter()
|
source: searx.searchResults.ttAdapter()
|
||||||
});
|
});
|
||||||
|
$('#q').bind('typeahead:selected', function(ev, suggestion) {
|
||||||
|
$("#search_form").submit();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user