aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r--src/jquery/jquery.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index d8fa3a6c5..70a16e680 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" ) {