Commit 58b4994f authored by Oleg's avatar Oleg Committed by Dave Methvin

Always use core_push in jQuery.buildFragment

parent 6d2ae92f
......@@ -439,7 +439,7 @@ jQuery.extend({
// Convert non-html into a text node
} else if ( !rhtml.test( elem ) ) {
nodes.push( context.createTextNode( elem ) );
core_push.call( nodes, context.createTextNode( elem ) );
// Convert html into DOM nodes
} else {
......@@ -495,7 +495,7 @@ jQuery.extend({
elem = tmp[ j ];
if ( rscriptType.test( elem.type || "" ) ) {
scripts.push( elem );
core_push.call( scripts, elem );
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment