diff --git a/static/css/base.css b/static/css/base.css index e19b5cc9..c2725cf8 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -59,6 +59,8 @@ body { .status { font-size: 24px; + display: inline-block; + width: 24px; } .status.icon-up { color: #5cb85c; } diff --git a/static/js/checks.js b/static/js/checks.js index a2e6b5eb..39612c58 100644 --- a/static/js/checks.js +++ b/static/js/checks.js @@ -175,7 +175,7 @@ $(function () { return false; }); - $(".integrations img").click(function() { + $(".integrations").on("click", "img", function() { var isOff = $(this).toggleClass("off").hasClass("off"); var token = $('input[name=csrfmiddlewaretoken]').val(); $.ajax({ @@ -254,6 +254,7 @@ $(function () { $('[data-toggle="tooltip"]').tooltip({ html: true, + container: "body", title: function() { var cssClasses = this.getAttribute("class"); if (cssClasses.indexOf("icon-new") > -1) @@ -315,7 +316,6 @@ $(function () { if (document.title != data.title) { document.title = data.title; } - } }); }