We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6452e80 commit c665ba1Copy full SHA for c665ba1
index.js
@@ -173,8 +173,7 @@ function fireEvents() {
173
let shaking = false;
174
let counter = 0; // TODO: DONT FORGET TO SET TO 0 ON RELEASE!!!
175
176
-// TODO: change it to onmousedown (it stopped working after separating button and label)
177
-clickMe.onclick = () => {
+clickMeWrapper.onmousedown = (e) => {
178
counter += 1;
179
popupText.innerText = counter + "🍑💨";
180
fireEvents();
0 commit comments