git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6d23f2f
)
Fixed typo in commit #6461.
author
John Resig
<jeresig@gmail.com>
Sun, 19 Jul 2009 15:51:00 +0000
(15:51 +0000)
committer
John Resig
<jeresig@gmail.com>
Sun, 19 Jul 2009 15:51:00 +0000
(15:51 +0000)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
237e957
..
0051bbc
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-370,8
+370,8
@@
jQuery.extend({
}
// IE completely kills leading whitespace when innerHTML is used
}
// 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 );
}
elem = jQuery.makeArray( div.childNodes );