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:
4b20288
)
Added a fix for .html("") not working correctly.
author
John Resig
<jeresig@gmail.com>
Thu, 11 Jan 2007 17:24:14 +0000
(17:24 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 11 Jan 2007 17:24:14 +0000
(17:24 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
6070389
..
d8fa3a6
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-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" ) {