Fix #13064: better test fixture cleanup. Close gh-1075.

This commit is contained in:
Richard Gibson 2012-12-16 12:37:20 -05:00
parent 06f46dad93
commit 2ea7876c25

View File

@ -317,8 +317,8 @@ var Globals = (function() {
};
QUnit.done(function() {
// Remove out own fixtures outside #qunit-fixture
jQuery( "#nothiddendiv, #loadediframe, #dl" ).remove();
// Remove our own fixtures outside #qunit-fixture
jQuery("#qunit ~ *").remove();
});
// jQuery-specific QUnit.reset