summaryrefslogtreecommitdiff
path: root/itjs/boot.js
diff options
context:
space:
mode:
Diffstat (limited to 'itjs/boot.js')
-rw-r--r--itjs/boot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index 80ad062..4e52489 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -84,7 +84,7 @@ function it_boot_addparam(url, param)
function it_panic(p)
{
- if (!document.location.href.match(/[?&]static=/)) // Avoid loop
+ if (!document.location.href.match(/[?&]static=/) && window.env && window.env.ua && window.env.ua.full && window.env.ua.device != "bot") // Avoid loop and non-full user agents
window.setTimeout("document.location.href = it_boot_addparam(document.location.href, 'static=" + p.reason + "')", 500);
p.type = "panic";