1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 07:50:23 +01:00

auto reload better

This commit is contained in:
8chan 2014-09-25 20:50:09 +00:00
parent 48ca125eaf
commit 4ecdcd292f

View File

@ -144,7 +144,7 @@ $(document).ready(function(){
end_of_page = true;
}).trigger('scroll');
$('#update_thread').on('click', poll);
$('#update_thread').on('click', function(e) {e.preventDefault(); poll();});
setInterval(timer_update, 1000);
setInterval(decrement_timer, 1000);