Fix for #1231
This commit is contained in:
parent
ea98b16438
commit
2e0c87cf23
1 changed files with 1 additions and 1 deletions
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue