Added a fix for .append( Number )
This commit is contained in:
parent
f368960479
commit
bfa79591b3
1 changed files with 3 additions and 0 deletions
3
src/jquery/jquery.js
vendored
3
src/jquery/jquery.js
vendored
|
@ -1389,6 +1389,9 @@ jQuery.extend({
|
||||||
|
|
||||||
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" ) {
|
||||||
// Trim whitespace, otherwise indexOf won't work as expected
|
// Trim whitespace, otherwise indexOf won't work as expected
|
||||||
|
|
Loading…
Reference in a new issue