save the right page

This commit is contained in:
Ted Unangst 2019-09-25 12:01:17 -04:00
parent 8b600770d3
commit b1d19f7eaf
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ function switchtopage(name, arg) {
var holder = honksonpage.children[0] var holder = honksonpage.children[0]
holder.remove() holder.remove()
// if not convoy, save current page // if not convoy, save current page
if (name != "convoy") { if (curpagestate.name != "convoy") {
var stash = curpagestate.name + ":" + curpagestate.arg var stash = curpagestate.name + ":" + curpagestate.arg
honksforpage[stash] = holder honksforpage[stash] = holder
} }