Skip to content

Commit

Permalink
waiting => 3 s
Browse files Browse the repository at this point in the history
  • Loading branch information
anisfeld authored Mar 7, 2024
1 parent 3e4c936 commit 4eac878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prijateli_tree/app/templates/games/waiting.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
window.onpopstate = function () {
window.history.go(1);
};
<!--calls wait again after 2 seconds-->
<!--calls wait again after 3 seconds-->
async function check_all_set() {
const response = await fetch("/games/{{game_id}}/player/{{player_id}}/all_set");
const all_set = await response.json();
Expand Down Expand Up @@ -36,7 +36,7 @@
$(document).ready( function () {
check_all_set();
});
setInterval(function() { check_all_set();}, 2000);
setInterval(function() { check_all_set();}, 3000);
</script>
{% endblock helper_script %}
{% block title %}
Expand Down

0 comments on commit 4eac878

Please sign in to comment.