Permalink
Browse files

fix Safari test failures

  • Loading branch information...
1 parent e889134 commit 22f58bd688e35a473e6088bc47c1ba23ebcb0cdc @gibson042 gibson042 committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/manipulation.js
View
@@ -717,7 +717,7 @@ jQuery.extend({
for ( i = 0; (elem = elems[i]) != null; i++ ) {
if ( elem || elem === 0 ) {
// Add nodes directly
- if ( typeof elem === "object" ) {
+ if ( jQuery.type( elem ) === "object" ) {
jQuery.merge( ret, elem.nodeType ? [ elem ] : elem );
// Convert non-html into a text node

0 comments on commit 22f58bd

Please sign in to comment.