From e61ed7c9259355d838ebb9590a34a9c8356908fb Mon Sep 17 00:00:00 2001 From: 4yman <170770027+4yman-0@users.noreply.github.com> Date: Sun, 1 Dec 2024 13:19:34 +0100 Subject: [PATCH] [ARCHIVE] fix webgames/js/dom.js $qa is a shortcut to querySelectorAll, not getElementById --- archive/webgames/js/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive/webgames/js/dom.js b/archive/webgames/js/dom.js index 9995b6e..b4e0598 100644 --- a/archive/webgames/js/dom.js +++ b/archive/webgames/js/dom.js @@ -7,5 +7,5 @@ function $q(q) { } function $qa(q) { - return document.getElementById(q); + return document.querySelectorAll(q); }