From 183ee244be55429e30eda62f1ea2a69200246d3a Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 31 Dec 2013 15:40:51 +0100 Subject: [PATCH] watch.js: remove cache evasion; let's see how it works out --- js/watch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/watch.js b/js/watch.js index 2d421349..425bbe8f 100644 --- a/js/watch.js +++ b/js/watch.js @@ -212,14 +212,14 @@ $(function(){ for (var i in st) { if (st[i].watched) { // TODO: fix path - var r = $.getJSON("/"+i+"/threads.json", {nocache: Math.random()}, function(j, x, r) { + var r = $.getJSON("/"+i+"/threads.json", function(j, x, r) { handle_board_json(r.board, j); }); r.board = i; } else if (st[i].threads) { for (var j in st[i].threads) { - var r = $.getJSON("/"+i+"/res/"+j+".json", {nocache: Math.random()}, function(k, x, r) { + var r = $.getJSON("/"+i+"/res/"+j+".json", function(k, x, r) { handle_thread_json(r.board, r.thread, k); }).error(function(r) { if(r.status == 404) handle_thread_404(r.board, r.thread);