mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
fix tipsy jQuery3.3
This commit is contained in:
@@ -177,15 +177,15 @@
|
||||
}
|
||||
};
|
||||
|
||||
if (!options.live) this.each(function() { get(this); });
|
||||
if (!options.on) this.each(function() { get(this); });
|
||||
|
||||
if (options.trigger != 'manual') {
|
||||
var eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
|
||||
eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
|
||||
if (options.live)
|
||||
if (options.on)
|
||||
$(document).on(eventIn, this.selector, enter).on(eventOut, this.selector, leave);
|
||||
else
|
||||
this.bind(eventIn, enter).bind(eventOut, leave);
|
||||
this.on(eventIn, enter).on(eventOut, leave);
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user