From f4e195027b096d9edb1750005fe24c4ea5e7495c Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Thu, 13 Apr 2017 00:46:03 +0000 Subject: [PATCH] Fix for fetch poll, again --- titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titanembeds/static/js/embed.js b/titanembeds/static/js/embed.js index f804169..685aa53 100644 --- a/titanembeds/static/js/embed.js +++ b/titanembeds/static/js/embed.js @@ -371,7 +371,7 @@ } }); fet.catch(function(data) { - if (data.status != 403 || data.status != 401) { + if (data.status != 403 && data.status != 401) { fetchtimeout = setTimeout(run_fetch_routine, 10000); } });