summaryrefslogtreecommitdiffstats
path: root/logfiles-tail-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-tail-html.lsp')
-rw-r--r--logfiles-tail-html.lsp7
1 files changed, 6 insertions, 1 deletions
diff --git a/logfiles-tail-html.lsp b/logfiles-tail-html.lsp
index c88b7a2..40a81a7 100644
--- a/logfiles-tail-html.lsp
+++ b/logfiles-tail-html.lsp
@@ -2,7 +2,12 @@
<% require("htmlviewfunctions") %>
<% html = require("acf.html") %>
-<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script>
+<script type="text/javascript">
+ if (typeof jQuery == 'undefined') {
+ document.write('<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"><\/script>');
+ }
+</script>
+
<script type="text/javascript">
var currentoffset = -1024
var ID