Skip to content
Permalink
Browse files

Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.

  • Loading branch information...
dmethvin committed Nov 17, 2011
1 parent dd845a2 commit 0de484d48338eda67c4e70e41654eb6593705dfc
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/manipulation.js
@@ -799,7 +799,7 @@ test("before and after w/ empty object (#10812)", function() {

var res = jQuery( "#notInTheDocument" ).before( "(" ).after( ")" );
equal( res.length, 2, "didn't choke on empty object" );
equal( res.wrap("<div/>").parent().text(), "()", "correctly appended text" );
equal( res.wrapAll("<div/>").parent().text(), "()", "correctly appended text" );
});

test("insertBefore(String|Element|Array&lt;Element&gt;|jQuery)", function() {

0 comments on commit 0de484d

Please sign in to comment.
You can’t perform that action at this time.