1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-26 00:10:55 +01:00

auto-reload.js: evade caching

This commit is contained in:
czaks 2013-12-29 04:38:16 +01:00
parent 33ad05b6d5
commit 38bab0012f

View File

@ -61,6 +61,7 @@ $(document).ready(function(){
var poll = function() {
$.ajax({
url: document.location,
data: {nocache: Math.random()},
success: function(data) {
$(data).find('div.post.reply').each(function() {
var id = $(this).attr('id');