Skip to content

Commit 0de484d

Browse files
committed
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.
1 parent dd845a2 commit 0de484d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/manipulation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ test("before and after w/ empty object (#10812)", function() {
799799

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

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

0 commit comments

Comments
 (0)