reset lastLookup when topic changes

This commit is contained in:
Kevin Froman 2020-11-09 00:45:01 +00:00
parent 218943c92f
commit 9bcd12c4cf

View File

@ -4,4 +4,5 @@ document.getElementById('boardID').onchange = function(e){
blocks = [] blocks = []
document.getElementsByClassName("messageFeed")[0].innerText = "" document.getElementsByClassName("messageFeed")[0].innerText = ""
document.getElementById('memUsage').innerText = "0kB" document.getElementById('memUsage').innerText = "0kB"
lastLookup = Math.floor((Date.now() / 1000)) - maxBlockAge
} }