From 6350e8a7e027de13e33116ffd130260bda64e4bf Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 11 Jan 2007 17:24:14 +0000 Subject: [PATCH] Added a fix for .html("") not working correctly. --- src/jquery/jquery.js | 2 ++ 1 file changed, 2 insertions(+) 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" ) { -- 1.7.10.4