all repos — honk @ 56018a24a4271b592547f96ff890c2bca6d8f9f8

my fork of honk

more debugging info
Anirudh Oppiliappan x@icyphox.sh
Sun, 20 Nov 2022 15:19:12 +0530
commit

56018a24a4271b592547f96ff890c2bca6d8f9f8

parent

ef622db4e0f50c547b8d8d0528cdbad7bb2a96ab

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M views/honkpage.jsviews/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") }