Skip to content
Permalink
Browse files

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

  • Loading branch information...
scottgonzalez committed Feb 26, 2011
1 parent 48f060a commit ffb96bc97228d4be0750f205ea76f510d220769d
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/unit/widget/widget_core.js
@@ -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()" );
};

0 comments on commit ffb96bc

Please sign in to comment.
You can’t perform that action at this time.