aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-02-22 09:15:43 -0500
committerScott González <scott.gonzalez@gmail.com>2013-02-22 09:15:43 -0500
commit2348fb8eb9ec1297a2588a23cf3447c5374bcb21 (patch)
tree49a5a4f341300db2e8dcba21fa6c94d3be32524c /ui
parent1c5171c2547130a76710dd20108b35774551e333 (diff)
downloadjquery-ui-2348fb8eb9ec1297a2588a23cf3447c5374bcb21.tar.gz
jquery-ui-2348fb8eb9ec1297a2588a23cf3447c5374bcb21.zip
Spinner: Call _stop() on blur. Fixes #9112 - Spinner keeps changing after losing focus.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.spinner.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index c14ef9370..644b65239 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -102,6 +102,7 @@ $.widget( "ui.spinner", {
return;
}
+ this._stop();
this._refresh();
if ( this.previous !== this.element.val() ) {
this._trigger( "change", event );