We recently upgraded our jQuery to 1.9.0, but it broke our tipsy plugin. Its live
functionality now causes an error.
$(\'.tooltip, abbr\').tipsy({
The problem is that this plugin still use .live()
to let work the method live
you used there, it is deprecated and has been replaced with .on()
.
You should try to search for updated version of the plugin or try to replace it by yourself.
you need to include jquery migration plugin, since you are using live:true
it make use of jquery.live which was removed in jquery 1.9.
For backward compatibility they have created a migration plugin which can be downloaded here and include the migration plugin to add back support for the removed methods and utilities.
I would be doing something like
if (options.trigger != 'manual') {
var eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
if(options.live){
$(this.context).on(eventIn, this.selector, enter).on(eventOut, this.selector, leave);
} else {
this.on(eventIn, enter).on(eventOut, leave);
}
}