]> source.dussan.org Git - jquery.git/commitdiff
Fix #13064: better test fixture cleanup. Close gh-1075.
authorRichard Gibson <richard.gibson@gmail.com>
Sun, 16 Dec 2012 17:37:20 +0000 (12:37 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Sun, 16 Dec 2012 18:09:40 +0000 (13:09 -0500)
test/data/testrunner.js

index 3f6398404d1a1b04818688861a0d0ed1fb7d96cb..f7aca724a4d4d88805474b0be2c19d61dfb5190e 100644 (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