From 23334817e85faea27234aba1c4c0ab75889c62e5 Mon Sep 17 00:00:00 2001 From: Lars Krönner Date: Mon, 25 Jan 2021 01:01:51 +0100 Subject: Making marvin happy again --- questions/public/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'questions/public/script.js') diff --git a/questions/public/script.js b/questions/public/script.js index 70a15ef..e5a03d0 100644 --- a/questions/public/script.js +++ b/questions/public/script.js @@ -52,7 +52,7 @@ function getNext(q = 0) { window.location.assign(`/questions/?qid=${q}`); } -// I did this myself lel 🤨 +// I did this myself lel Object.prototype.empty = function () { return Object.keys(this).length === 0; }; @@ -78,6 +78,6 @@ buttons.on("click", async (e) => { method = "PUT"; getNext(qid); // document.querySelector(`.answer-btn[data-value="${e.target.dataset.value}"]`).style.opacity = "0.5"; - // document.querySelector(`.answer-btn[data-value="${+!+e.target.dataset.value}"]`).style.opacity = "1"; // Let's not talk about it 😉 + // document.querySelector(`.answer-btn[data-value="${+!+e.target.dataset.value}"]`).style.opacity = "1"; // Let's not talk about it } }); \ No newline at end of file -- cgit v1.2.3