Skip to content
Permalink
Browse files
Added a fix for .append( Number )
  • Loading branch information
jeresig committed Jan 11, 2007
1 parent f368960 commit bfa79591b3c849d8df6cd8c7eac757732a855519
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/jquery/jquery.js
@@ -1388,6 +1388,9 @@ jQuery.extend({
var arg = a[i];

if ( !arg ) continue;

if ( arg.constructor == Number )
arg = arg.toString();

// Convert html string into DOM nodes
if ( typeof arg == "string" ) {

0 comments on commit bfa7959

Please sign in to comment.