diff options
Diffstat (limited to 'questions/public/script.js')
-rw-r--r-- | questions/public/script.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 |