Fixed typo in commit #6461.
This commit is contained in:
parent
6d23f2fd81
commit
0ac9898d6b
1 changed files with 2 additions and 2 deletions
|
@ -370,8 +370,8 @@ jQuery.extend({
|
|||
}
|
||||
|
||||
// IE completely kills leading whitespace when innerHTML is used
|
||||
if ( !jQuery.support.leadingWhitespace && leadingWhitespace.test( elem ) ) {
|
||||
div.insertBefore( context.createTextNode( leadingWhitespace.exec(elem)[0] ), div.firstChild );
|
||||
if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
|
||||
div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild );
|
||||
}
|
||||
|
||||
elem = jQuery.makeArray( div.childNodes );
|
||||
|
|
Loading…
Reference in a new issue