Add more endpoints

This commit is contained in:
vfbd
2022-08-08 17:51:40 -04:00
parent a93087aecd
commit 1f629ee254
2 changed files with 487 additions and 53 deletions

View File

@ -2316,6 +2316,7 @@ $(document).ready(function(){
scrollToBottom();
} else if(msg.cmd == "updatechunk") {
hideMessage();
game_text.attr('contenteditable', allowedit);
if (typeof submit_start !== 'undefined') {
$("#runtime")[0].innerHTML = `Generation time: ${Math.round((Date.now() - submit_start)/1000)} sec`;
delete submit_start;