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