Added a fix for .html("") not working correctly.
This commit is contained in:
parent
4b2028896d
commit
6350e8a7e0
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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" ) {
|
||||
|
|
Loading…
Reference in a new issue