fix(about,modules): remove console debug

This commit is contained in:
Guz
2024-11-01 17:09:48 -03:00
parent 7ad310d0ed
commit 3abdb2da96

View File

@@ -29,22 +29,16 @@ function toggleElement(e, toggle) {
* Hello world.
*/
export function main() {
console.debug('RUNNING');
const anchors = {
code: document.querySelector('#return-anchor-code'),
creators: document.querySelector('#return-anchor-creators'),
root: document.querySelector('#return-anchor-root'),
};
console.debug('AAAAA', anchors);
if (!anchors.code || !anchors.creators || !anchors.root) {
return;
}
console.debug('AAAAA');
/** @type {URL | undefined} */
let url = undefined;
try {
@@ -55,8 +49,6 @@ export function main() {
url = new URL('/');
}
console.debug('hash', url.hash);
switch (url.hash) {
case '#code':
toggleElement(anchors.code, true);