X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=6d1fb2f99a2883e829f932789919104163d9707f;hb=79c58b8406128b33080d72059dff66f49d64114c;hp=d8fa3a6c5fc6491dd0d9d6d139f617a744076ccf;hpb=6350e8a7e027de13e33116ffd130260bda64e4bf;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index d8fa3a6..6d1fb2f 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" ) { @@ -1701,7 +1704,7 @@ jQuery.extend({ */ /* - * Wheather the W3C compliant box model is being used. + * Whether the W3C compliant box model is being used. * * @property * @name $.boxModel