diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-30 12:38:18 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-30 12:38:18 -0400 |
commit | 58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7 (patch) | |
tree | edba4fc37f64d163273c41d4a166cb25a6e9243a /tests/unit/dialog/dialog_methods.js | |
parent | dffcba0ba6d77413f700fba46e4ed5eabe74359f (diff) | |
download | jquery-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 'tests/unit/dialog/dialog_methods.js')
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index e4b77aa0b..93d1b25db 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -130,10 +130,4 @@ test("open", function() { ok(dlg().is(':visible') && !dlg().is(':hidden'), 'dialog visible after open method called'); }); -test("widget", function() { - var dialog = $('<div></div>').dialog(); - same(dialog.dialog("widget")[0], dialog.parent()[0]); - same(dialog.dialog("widget").end()[0], dialog[0]); -}); - })(jQuery); |