diff --git a/public/scripts/main.js b/public/scripts/main.js
index 1e86da3..f5abd24 100644
--- a/public/scripts/main.js
+++ b/public/scripts/main.js
@@ -8,8 +8,17 @@
var sb = {
init: function() {
+ // Properly format any alert boxes
$('.alert-data').alert();
+
+ // Properly format any tab widgets
$('.tabs').tabs();
+
+ // Display popovers on all configured items
+ $("a[rel=popover]").popover({
+ offset: 10,
+ html: true,
+ });
},
usercp: {
@@ -41,14 +50,3 @@ var sb = {
};
$('document').ready(sb.init);
-
- $(function () {
- $("a[rel=popover]")
- .popover({
- offset: 10,
- html: true
- })
- .click(function(e) {
- e.preventDefault()
- })
- })
\ No newline at end of file
diff --git a/source/webui/templates/fragments/site-status.tpl b/source/webui/templates/fragments/site-status.tpl
index dafc24e..46164c1 100644
--- a/source/webui/templates/fragments/site-status.tpl
+++ b/source/webui/templates/fragments/site-status.tpl
@@ -15,6 +15,6 @@
{assign var=img_src value="{$base_uri}images/Status_Icons/cross-circle.png"}
{/case}
{/switch}
-
+
\ No newline at end of file