Switch QUnit div from depreceted #main to #qunit-fixture

This commit is contained in:
timmywil 2011-04-17 02:43:57 -04:00
parent 5d70c6d797
commit ecf6a3c383
10 changed files with 146 additions and 146 deletions

View file

@ -1782,7 +1782,7 @@ test("jQuery.ajaxSetup({timeout: Number}) - with global timeout", function() {
passed++;
if ( passed == 2 ) {
ok( true, "Check local and global callbacks after timeout" );
jQuery("#main").unbind("ajaxError");
jQuery("#qunit-fixture").unbind("ajaxError");
start();
}
};
@ -1792,7 +1792,7 @@ test("jQuery.ajaxSetup({timeout: Number}) - with global timeout", function() {
start();
};
jQuery("#main").ajaxError(pass);
jQuery("#qunit-fixture").ajaxError(pass);
jQuery.ajax({
type: "GET",