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:
parent
5f7db88a2d
commit
e9226dba46
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user