mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 14:08:13 -05:00
Added a fix for .html("") not working correctly.
This commit is contained in:
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" ) {
|
||||
|
||||
Reference in New Issue
Block a user