more debugging info
Anirudh Oppiliappan x@icyphox.sh
Sun, 20 Nov 2022 15:19:12 +0530
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
views/honkpage.js
→
views/honkpage.js
@@ -191,6 +191,7 @@ var data = evt.state
if (!data) { return } + console.log('statechanger: ', data) switchtopage(data.name, data.arg) } function switchtopage(name, arg) {@@ -245,6 +246,7 @@ topmenu.open = false
if (name == curpagestate.name && arg == curpagestate.arg) { return false } + console.log("pageswitcher: ", arg) switchtopage(name, arg) var url = evt.srcElement.href if (!url) {@@ -258,6 +260,7 @@ }
function relinklinks() { var els = document.getElementsByClassName("convoylink") while (els.length) { + console.log("els thing: ", els[0].text) els[0].onclick = pageswitcher("convoy", els[0].text) els[0].classList.remove("convoylink") }