fix(about,modules): remove console debug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user