From bfa79591b3c849d8df6cd8c7eac757732a855519 Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 11 Jan 2007 18:44:53 +0000 Subject: [PATCH] Added a fix for .append( Number ) --- src/jquery/jquery.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index d8fa3a6..70a16e6 100644 --- a/src/jquery/jquery.js +++ b/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" ) { -- 1.7.10.4