From daae60deae448339b9d593f34f2ecd6abd4d362f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 28 2015 11:16:25 +0000 Subject: Declare the sse variable before trying to use it This was breaking the behavior of the asynchronous commenting as the JS was checking if sse was true or false, but sse wasn't defined by default --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 44f61fa..d6a9abe 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -569,6 +569,7 @@ function try_async_comment(form, inline) {