From b1d19f7eaf523a4c514ce83165cbdf3340a6bbbe Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 25 Sep 2019 12:01:17 -0400 Subject: [PATCH] save the right page --- views/honkpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/honkpage.js b/views/honkpage.js index d471def..32ea0d6 100644 --- a/views/honkpage.js +++ b/views/honkpage.js @@ -117,7 +117,7 @@ function switchtopage(name, arg) { var holder = honksonpage.children[0] holder.remove() // if not convoy, save current page - if (name != "convoy") { + if (curpagestate.name != "convoy") { var stash = curpagestate.name + ":" + curpagestate.arg honksforpage[stash] = holder }