Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Remove short circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Boxhall committed Dec 3, 2015
1 parent 36c574c commit b360bbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/AuditRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ axs.AuditRule.collectMatchingElements = function(scope, matcher, collection, opt
* @return boolean
*/
function relevantElementCollector(element) {
if (axs.utils.elementHasNonVisibleStyle(element))
return false;
if (opt_ignoreSelectors) {
for (var i = 0; i < opt_ignoreSelectors.length; i++) {
if (axs.browserUtils.matchSelector(element, opt_ignoreSelectors[i]))
Expand Down

0 comments on commit b360bbb

Please sign in to comment.