Skip to content
Permalink
Browse files

Hidden input types are still considered enabled in css3. Fixes #10148.

  • Loading branch information...
timmywil committed May 28, 2012
1 parent 9284760 commit 45b30f15c8272d9ec224d4df4fd0f625b8617719
Showing with 1 addition and 1 deletion.
  1. +1 −1 sizzle.js
@@ -780,7 +780,7 @@ var Expr = Sizzle.selectors = {

filters: {
enabled: function( elem ) {
return elem.disabled === false && elem.type !== "hidden";
return elem.disabled === false;
},

disabled: function( elem ) {

1 comment on commit 45b30f1

@dmethvin

This comment has been minimized.

Copy link
Member

commented on 45b30f1 May 28, 2012

👍

Please sign in to comment.
You can’t perform that action at this time.