Widget tests: Work around a bug in jQuery core in IE 9rc.

This commit is contained in:
Scott González 2011-02-26 13:31:45 +01:00
parent 48f060ac25
commit ffb96bc972

View File

@ -29,6 +29,8 @@ test( "element normalization", function() {
$.widget( "ui.testWidget", {} );
$.ui.testWidget.prototype._create = function() {
// workaround for core ticket #8381
this.element.appendTo( "#qunit-fixture" );
ok( this.element.is( "div" ), "generated div" );
same( this.element.data( "testWidget" ), this, "intance stored in .data()" );
};