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 7, 2023
1 parent bf07d5d commit a60f9d4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export let draggable_alternative_exists: Rule = {
|| nodeName === "body" || nodeName === "html" )
return null;

const bounds = context["dom"].bounds;

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

0 comments on commit a60f9d4

Please sign in to comment.