mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
fix Safari test failures
This commit is contained in:
parent
e889134058
commit
22f58bd688
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user