aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-12 17:48:25 -0700
committerScott González <scott.gonzalez@gmail.com>2011-05-12 17:48:25 -0700
commitdd00f7f3b4ebfa8d2df6119148bf5120721d3abc (patch)
treebbfe45911e8ffaf11b543c1b2e0816aa6c73ad83 /ui/jquery.ui.button.js
parent523790b111558d88b83d23e5b3f5c65a58b7dae5 (diff)
parent8df834f68c4337cb6d128360c76a4621f050bd60 (diff)
downloadjquery-ui-dd00f7f3b4ebfa8d2df6119148bf5120721d3abc.tar.gz
jquery-ui-dd00f7f3b4ebfa8d2df6119148bf5120721d3abc.zip
Merge pull request #256 from dcneiner/button-blur
Fixed #6242
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 06d2ad6bb..9c2be5fb5 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -185,6 +185,7 @@ $.widget( "ui.button", {
// $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
// be overridden by individual plugins
this._setOption( "disabled", options.disabled );
+ this._resetButton();
},
_determineButtonType: function() {
@@ -250,6 +251,7 @@ $.widget( "ui.button", {
} else {
this.element.removeAttr( "disabled" );
}
+ return;
}
this._resetButton();
},