Skip to content

Commit d41c02e

Browse files
committed
Button: return value was needed for chaining
1 parent 4ff87a6 commit d41c02e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/button.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ $.widget( "ui.button", {
129129
}
130130

131131
this.icon.addClass( icon ).appendTo( this.element );
132+
return this;
132133
},
133134

134135
_destroy: function() {

0 commit comments

Comments
 (0)