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 97d4ca0..4dd1df4 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) {}