mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-12-23 03:18:55 +00:00
Merge pull request #188 from markus-k/master
Return false in click handler to prevent default behaviour.
This commit is contained in:
commit
c4d42b7e68
@ -193,6 +193,7 @@
|
||||
// Listen for click event on suggestions list:
|
||||
container.on('click.autocomplete', suggestionSelector, function () {
|
||||
that.select($(this).data('index'));
|
||||
return false;
|
||||
});
|
||||
|
||||
that.fixPositionCapture = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user