summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-12-31 15:40:51 +0100
committerczaks <marcin@6irc.net>2013-12-31 15:40:51 +0100
commit183ee244be55429e30eda62f1ea2a69200246d3a (patch)
treec94c37233866e08d9f9618068bfc014c843035c1 /js
parentfaf5fe1ef635cd54b79c23932bf0be492019ceef (diff)
watch.js: remove cache evasion; let's see how it works out
Diffstat (limited to 'js')
-rw-r--r--js/watch.js4
1 files 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);