Skip to content

Commit ffb96bc

Browse files
committed
Widget tests: Work around a bug in jQuery core in IE 9rc.
1 parent 48f060a commit ffb96bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/widget/widget_core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ test( "element normalization", function() {
2929
$.widget( "ui.testWidget", {} );
3030

3131
$.ui.testWidget.prototype._create = function() {
32+
// workaround for core ticket #8381
33+
this.element.appendTo( "#qunit-fixture" );
3234
ok( this.element.is( "div" ), "generated div" );
3335
same( this.element.data( "testWidget" ), this, "intance stored in .data()" );
3436
};

0 commit comments

Comments
 (0)