Added a fix for .html("") not working correctly.

This commit is contained in:
John Resig 2007-01-11 17:24:14 +00:00
parent 4b2028896d
commit 6350e8a7e0

View file

@ -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" ) {