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:
ea98b16
)
Fix for #1231
author
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 29 Jun 2007 22:05:25 +0000
(22:05 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 29 Jun 2007 22:05:25 +0000
(22:05 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
e5e494a
..
5940df3
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1539,7
+1539,7
@@
jQuery.extend({
arg = jQuery.makeArray( div.childNodes );
}
- if ( 0 === arg.length && !jQuery(arg).is("form, select") )
+ if ( 0 === arg.length && (!jQuery.nodeName(arg, "form") && !jQuery.nodeName(arg, "select")) )
return;
if ( arg[0] == undefined || jQuery.nodeName(arg, "form") || arg.options )