Commit 2ea7876c authored by Richard Gibson's avatar Richard Gibson

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

parent 06f46dad
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment