mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Added a fix for .append( Number )
This commit is contained in:
parent
f368960479
commit
bfa79591b3
3
src/jquery/jquery.js
vendored
3
src/jquery/jquery.js
vendored
@ -1388,6 +1388,9 @@ jQuery.extend({
|
|||||||
var arg = a[i];
|
var arg = a[i];
|
||||||
|
|
||||||
if ( !arg ) continue;
|
if ( !arg ) continue;
|
||||||
|
|
||||||
|
if ( arg.constructor == Number )
|
||||||
|
arg = arg.toString();
|
||||||
|
|
||||||
// Convert html string into DOM nodes
|
// Convert html string into DOM nodes
|
||||||
if ( typeof arg == "string" ) {
|
if ( typeof arg == "string" ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user