Commit 0ac9898d authored by John Resig's avatar John Resig

Fixed typo in commit #6461.

parent 6d23f2fd
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment