close menu here
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 16:08:31 -0400
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
views/honkpage.js
→
views/honkpage.js
@@ -134,14 +134,14 @@ honksonpage.prepend(document.createElement("div"))
var args = hydrargs() get("/hydra?" + encode(args), fillinhonks) } - var topmenu = document.getElementById("topmenu") - topmenu.open = false } function newpagestate(name, arg) { return { "name": name, "arg": arg } } function pageswitcher(name, arg) { return function(evt) { + var topmenu = document.getElementById("topmenu") + topmenu.open = false console.log("switching to", name +":"+arg) if (name == curpagestate.name && arg == curpagestate.arg) { console.log("skipping nav")