Skip to content

Commit

Permalink
[ARCHIVE] fix webgames/js/dom.js
Browse files Browse the repository at this point in the history
$qa is a shortcut to querySelectorAll, not getElementById
  • Loading branch information
4yman-0 committed Dec 1, 2024
1 parent 8d68bac commit e61ed7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive/webgames/js/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ function $q(q) {
}

function $qa(q) {
return document.getElementById(q);
return document.querySelectorAll(q);
}

0 comments on commit e61ed7c

Please sign in to comment.