aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-30 12:38:18 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-30 12:38:18 -0400
commit58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7 (patch)
treeedba4fc37f64d163273c41d4a166cb25a6e9243a /ui/jquery.ui.widget.js
parentdffcba0ba6d77413f700fba46e4ed5eabe74359f (diff)
downloadjquery-ui-58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7.tar.gz
jquery-ui-58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7.zip
Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index b5e10ba0f..e21287ae0 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -160,7 +160,7 @@ $.Widget.prototype = {
},
widget: function() {
- return this.element.pushStack(this.element.get());
+ return this.element;
},
option: function( key, value ) {