Skip to content

Commit

Permalink
Accidental second interval
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Feb 25, 2024
1 parent b5fcba5 commit 172099c
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions server/templates/recall.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -483,25 +483,6 @@

clearInterval(recalledWindowServerErrorInterval);

statusWindowServerErrorInterval = setInterval(function () {
$.ajax({
url: "serverError",
type: "post",
dataType: "text",
contentType: "application/x-www-form-urlencoded",
data: ({"unique_code": unique}),
success: function (data) {
statusWindowServerError.html("");
const serverErrorResponseJson = JSON.parse(data);
if (serverErrorResponseJson.error !== "") {
statusWindowServerError.html(serverErrorResponseJson.error + "<br>");
return;
}
statusWindowServerError.html(serverErrorResponseJson.serverError);
},
});
}, 5000);

$("#started_unique").html(startResponseJson.unique);
document.getElementById("recalled_stream_window").hidden = true;
document.getElementById("recalled_stream_window").style.visibility = "hidden";
Expand Down

0 comments on commit 172099c

Please sign in to comment.