I think right now, it is not possible to use hoverIntent for just ON. I mean:

trigger: ['hoverIntent', 'click']

doesn't work as intended. The tooltip should only close when click happens, but instead, it closes after hovering out of the link.

Comments

abhid90210’s picture

Yup, can confirm, using 6.x-2.0, OFF is ignored for hover and hoverIntent both.

jmagunia’s picture

Issue summary: View changes

Agree with abhid9021 on 7.x as well. Not sure this is the best way to simulate OFF but adding this JavaScript helped me:

$('body.front').on('click', function()
{
  if($('span').hasClass('bt-active'))
  {
    $('span').removeClass('bt-active')
  }
})
pifagor’s picture

Status: Active » Closed (outdated)