X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=inline;f=src%2Fjquery%2Fjquery.js;h=70a16e680a34aef156d768d221e9505d1db23d5b;hb=bfa79591b3c849d8df6cd8c7eac757732a855519;hp=d8fa3a6c5fc6491dd0d9d6d139f617a744076ccf;hpb=f368960479a1b8f7904bc2ca65a7a9cd74cc5a13;p=jquery.git 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" ) {