Commit bfa79591 authored by John Resig's avatar John Resig

Added a fix for .append( Number )

parent f3689604
...@@ -1389,6 +1389,9 @@ jQuery.extend({ ...@@ -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
......
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