aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 3be2b3451..3ddd56c3a 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -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 );
}
}
}