From: John Resig Date: Thu, 11 Jan 2007 17:24:14 +0000 (+0000) Subject: Added a fix for .html("") not working correctly. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=6350e8a7e027de13e33116ffd130260bda64e4bf Added a fix for .html("") not working correctly. --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 6070389..d8fa3a6 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1386,6 +1386,8 @@ jQuery.extend({ for ( var i = 0, al = a.length; i < al; i++ ) { var arg = a[i]; + + if ( !arg ) continue; // Convert html string into DOM nodes if ( typeof arg == "string" ) {