r3070 committed - spinner: added check to test if spinning is false. If so don't fire th...
Revision: 3070
Author: pazu2k@gmail.com
Date: Mon Aug 17 09:31:23 2009
Log: spinner: added check to test if spinning is false. If so don't fire
the stop event.
http://code.google.com/p/jquery-ui/source/detail?r=3070
Modified:
/branches/dev/spinner/ui/ui.spinner.js
=======================================
--- /branches/dev/spinner/ui/ui.spinner.js Mon Aug 17 07:56:54 2009
+++ /branches/dev/spinner/ui/ui.spinner.js Mon Aug 17 09:31:23 2009
@@ -239,6 +239,9 @@
}
},
_stop: function(event) {
+ if (!this.spinning) {
+ return;
+ }
this.counter = 0;
if (this.timer) {
window.clearInterval(this.timer);