lycan/js/topic-handler.js
2020-11-09 00:45:01 +00:00

8 lines
334 B
JavaScript

document.getElementById('boardID').onchange = function(e){
postTopic = e.target.value.toLowerCase()
messageHashes = []
blocks = []
document.getElementsByClassName("messageFeed")[0].innerText = ""
document.getElementById('memUsage').innerText = "0kB"
lastLookup = Math.floor((Date.now() / 1000)) - maxBlockAge
}