sergiodlopes / jquery-flexdatalist

Flexible input autocomplete/datalist plugin for jQuery
http://projects.sergiodinislopes.pt/flexdatalist/
MIT License
365 stars 84 forks source link

Cursor not set to "pointer" when selecting an item #243

Open ZTHawk opened 2 years ago

ZTHawk commented 2 years ago

When hovering mouse over an item then the cursor does not change to a "pointer".

.on('hover', function () {
      $li.removeClass('active');
      $(this).addClass('active').trigger('active:flexdatalist.results', [$(this).data('item')]);
  }, function () {
      $(this).removeClass('active');
  })

The on function does not accept two functions. Either use