aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-07-30 14:26:58 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-07-30 14:26:58 +0200
commitea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d (patch)
tree35cff2c8f0505cf9b5430b33df0ff7ab5c85dc59 /ui/jquery.ui.widget.js
parentb3940d2f78dfcc37792ceb97e5659b78f156794c (diff)
downloadjquery-ui-ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.tar.gz
jquery-ui-ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.zip
Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack
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 e21287ae0..b5e10ba0f 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -160,7 +160,7 @@ $.Widget.prototype = {
},
widget: function() {
- return this.element;
+ return this.element.pushStack(this.element.get());
},
option: function( key, value ) {