Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZTHawk opened this issue Sep 9, 2022 · 0 comments
Open

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

ZTHawk opened this issue Sep 9, 2022 · 0 comments

Comments

@ZTHawk
Copy link

ZTHawk commented Sep 9, 2022

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant