]> source.dussan.org Git - jquery.git/commitdiff
Fixed mistake with tweaked iframe manipulation test.
authorJohn Resig <jeresig@gmail.com>
Thu, 26 Aug 2010 19:26:30 +0000 (15:26 -0400)
committerJohn Resig <jeresig@gmail.com>
Thu, 26 Aug 2010 19:26:30 +0000 (15:26 -0400)
test/unit/manipulation.js

index 97d4ca0261bc4426e0727ef98156367cbd5fd873..4dd1df4002d175daf6bdee09f5384829248e358a 100644 (file)
@@ -265,7 +265,7 @@ var testAppend = function(valueObj) {
                var body = jQuery("#iframe")[0].contentWindow.document.body;
 
                pass = false;
-               jQuery( document.body ).append(valueObj( "<div>test</div>" ));
+               jQuery( body ).append(valueObj( "<div>test</div>" ));
                pass = true;
        } catch(e) {}