Skip to content

Commit

Permalink
cleanup the code #1675
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Nov 8, 2023
1 parent c115724 commit a3e9e36
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export let draggable_alternative_exists: Rule = {
|| nodeName === "body" || nodeName === "html" )
return null;

//in case the bounds not available
if (ruleContext.getAttribute("draggable") === 'true')
return RulePotential("potential_alternative", [nodeName]);
else if (ruleContext.getAttribute("draggable") === 'false')
Expand Down

0 comments on commit a3e9e36

Please sign in to comment.