Commit 2e0c87cf authored by Brandon Aaron's avatar Brandon Aaron

Fix for #1231

parent ea98b164
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment