diff --git a/pagure/templates/comment_update.html b/pagure/templates/comment_update.html
index 7023226..ecd590f 100644
--- a/pagure/templates/comment_update.html
+++ b/pagure/templates/comment_update.html
@@ -1,8 +1,12 @@
+{% if not is_js %}
{% extends "repo_master.html" %}
+{% endif %}
{% block repo %}