This commit is contained in:
parent
334e6958ba
commit
89f6f06a15
1 changed files with 7 additions and 7 deletions
|
@ -15,7 +15,7 @@ let resetCount = "";
|
||||||
document.onclick = () => {
|
document.onclick = () => {
|
||||||
clicks++;
|
clicks++;
|
||||||
|
|
||||||
if (clicks > 5) {
|
if (clicks % 5 == 0) {
|
||||||
snacker({
|
snacker({
|
||||||
message: `Please stop.${resetCount}`,
|
message: `Please stop.${resetCount}`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue