Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

jQuery 1.4 compatibility


Project:Throbber (aka loading animation)
Version:0.1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

There was a breaking change in jQuery 1.4 to the behavior of the $() selector. Modifying throbber to bind ajaxStop to $(this) instead of $() fixes the issue.

// Hide all AJAX throbbers on AJAX stop
$(this).ajaxStop(function() {
_throbberHide($(".throbber_ajax"));
});
AttachmentSize
jquery.throbber.js_.txt2.92 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

Is there a reason for this patch not being accepted into the main code?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.