Merge pull request #185 from ebolam/united

Update for execution time timer
This commit is contained in:
henk717
2022-08-19 15:29:06 +02:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

@ -2445,10 +2445,6 @@ $(document).ready(function(){
} 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;
}
var index = msg.data.index;
var html = msg.data.html;
var existingChunk = game_text.children('#n' + index);