Commit bfa79591 authored by John Resig's avatar John Resig

Added a fix for .append( Number )

parent f3689604
...@@ -1388,6 +1388,9 @@ jQuery.extend({ ...@@ -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" ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment