jaz303 / tipsy

Facebook-style tooltips plugin for jQuery
http://onehackoranother.com/projects/jquery/tipsy/
MIT License
2.01k stars 557 forks source link

mouseover buggy in lte-ie8 #168

Open jonasboman opened 11 years ago

jonasboman commented 11 years ago

Sometimes not showing tipsy on mouseover. Using a forked version to be able to use on-methods.

    if (options.trigger != 'manual') {
        var eventIn  = options.trigger == 'hover' ? 'mouseenter' : 'focus',
            eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';

        if(!this.live) {
            $(this.selector).bind(eventIn, enter).bind(eventOut, leave);
        } else {
            $(this.context).on(eventIn, this.selector, enter);
            $(this.context).on(eventOut, this.selector, leave);
        }
    }