From 56feda0209857c56c215ef26a20e2cbf2b3bfda8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 26 2018 12:53:52 +0000 Subject: Fix commenting on PRs and issues if the SSE is not configured at all Merges https://pagure.io/pagure/pull-request/3183 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index bb7273d..1223377 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -664,10 +664,14 @@ $(document).ready(function() { {% if config['EVENTSOURCE_SOURCE'] and not issue.private %} +{% endif %} + -{% endif %} - -{% if config['EVENTSOURCE_SOURCE'] and pull_request %} +{% else %} +sse = false; {% endif %} + {% if repo.quick_replies %}