diff --git a/lib/ui/templates/ui/index.html b/lib/ui/templates/ui/index.html
index 4e04206f03..72ef7f1829 100644
--- a/lib/ui/templates/ui/index.html
+++ b/lib/ui/templates/ui/index.html
@@ -13,6 +13,9 @@
+ {% if not debug %}
+
+ {% else %}
@@ -55,6 +58,7 @@
+ {% endif %}