Skip to content
Permalink
Browse files
Fix for #1231
  • Loading branch information
brandonaaron committed Jun 29, 2007
1 parent ea98b16 commit 2e0c87cf234c7d352336435b51f8b3eb012119ca
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 )

0 comments on commit 2e0c87c

Please sign in to comment.