Browse Source

Disable auto refresh on hidden judge state

pull/6/head
Menci 8 years ago
parent
commit
271435c5ef
  1. 2
      views/judge_detail_item.ejs

2
views/judge_detail_item.ejs

@ -103,7 +103,7 @@ $(function() {
<% if (!isPending(judge.status)) { %><div><div id="stop_ajax"></div></div><% } %>
<script>
<% if (isPending(judge.status)) { %>
<% if (isPending(judge.status) && judge.allowedSeeResult) { %>
function update_judge_detail() {
setTimeout(function () {
$.get('/judge_detail/<%= judge.id %>/ajax', function (data) {

Loading…
Cancel
Save