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

auto-reload.js: evade caching

This commit is contained in:
czaks 2013-12-29 04:38:16 +01:00
parent 5f7db88a2d
commit e9226dba46

View File

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