Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make blocks in Qualifier's actually work

  • Loading branch information...
commit b492e8385aa316bd08b86c6d4b82ae334a5d601f 1 parent 87b26b5
@ferrous26 ferrous26 authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/accessibility/qualifier.rb
View
5 lib/accessibility/qualifier.rb
@@ -55,7 +55,10 @@ def compile criteria, block
[key, [filter, key, value]]
end
end
- @filters << [:self, [:block_check]] if block
+ if block
+ @block = block
+ @filters << [:self, [:block_check]]
+ end
end
##
Please sign in to comment.
Something went wrong with that request. Please try again.