diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html
index fd0a57546..3940a6261 100644
--- a/files/templates/util/html_head.html
+++ b/files/templates/util/html_head.html
@@ -150,7 +150,7 @@
{% endif %}
- {% if 'chat' in request.path %}
+ {% if request.path == '/chat' %}
{% if IS_LOCALHOST %}
{% else %}