From f57bb64e8ef7b5effa8cc5962ef75a426460cd6c Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 13 Dec 2014 13:52:46 +0100 Subject: dashboard: showtime: load jquery + timeago.js when config is set --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 9c2319b..eb897ae 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,8 @@ if ($uhosts) { host_summary('uncategorized', $uhosts); } -echo << jQuery(document).ready(function() { jQuery("time.timeago").timeago(); @@ -34,5 +35,6 @@ jQuery(document).ready(function() { EOT; +} html_end(); -- cgit v1.1