Skip to content

Conversation

piradata
Copy link

@piradata piradata commented Aug 9, 2022

checkResults functions already prevents cheating with ".strobe" selector by comparing
$(".table").html() == ruleTable.html()
because
ruleTable.find(rule).addClass("strobe");
will never find anything if dependent on the .strobe class because
ruleTable.find(".strobe").removeClass("strobe");
already removes the class right before :)

… cheat

checkResults functions already prevents cheating with ".strobe" selector by comparing
`$(".table").html() == ruleTable.html()`
because
`ruleTable.find(rule).addClass("strobe");`
will never find anything if dependent on the .strobe class as
`ruleTable.find(".strobe").removeClass("strobe");`
removes the class right before
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant