Skip to content
Permalink
Browse files
Added a fix for .html("") not working correctly.
  • Loading branch information
jeresig committed Jan 11, 2007
1 parent 4b20288 commit 6350e8a7e027de13e33116ffd130260bda64e4bf
Showing with 2 additions and 0 deletions.
  1. +2 −0 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" ) {

0 comments on commit 6350e8a

Please sign in to comment.