summaryrefslogtreecommitdiffstats
path: root/tinydns-view-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-view-html.lsp')
-rw-r--r--tinydns-view-html.lsp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tinydns-view-html.lsp b/tinydns-view-html.lsp
index 99cf75d..d86fce6 100644
--- a/tinydns-view-html.lsp
+++ b/tinydns-view-html.lsp
@@ -2,7 +2,12 @@
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 last_phrase = "";
function filterPage(){