sergiodlopes/jquery-flexdatalist

Cursor not set to "pointer" when selecting an item

ZTHawk opened this issue · 0 comments

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

  • hover(
  • on('mouseenter' and on('mouseleave'