Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fixed a bug with timers and delete options. Closes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Grundy committed Jun 12, 2010
1 parent a92b8da commit a721c19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions torrent_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@
* Resume the table refresh.
*/
function resume_table_refresh() {
if (INTERVAL_UI) {
clearInterval(INTERVAL_UI);
INTERVAL_UI = null;
}
INTERVAL_UI = setInterval('update_ui()', STATUS_REFRESH_INTERVAL);
$('#table-refresh-status span').removeClass('inactive').addClass('active').html(STATUS_REFRESH_INTERVAL / 1000 + 's');
}
Expand Down

0 comments on commit a721c19

Please sign in to comment.