From 4631123cce5616c649afd90a2afd1339125d57d6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 07 2017 08:50:37 +0000 Subject: [PATCH 1/2] Replace a tab by spaces Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 09ad897..028a41d 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -569,7 +569,7 @@ function setup_reply_btns() { $( "#comment" ).val(_output.join("\n")); } ).click(function(){ - $('html, body').animate({ + $('html, body').animate({ scrollTop: $("#comment").offset().top }, 2000); }); From b096eeae91ed4028ba70aff902c428ba528887eb Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 07 2017 08:51:04 +0000 Subject: [PATCH 2/2] Fix the URL to the issue used by the SSE JS Fixes https://pagure.io/pagure/issue/2576 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 028a41d..12f15a3 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -648,7 +648,7 @@ window.onbeforeunload = function() { source.addEventListener('message', function(e) { console.log(e.data); var data = $.parseJSON(e.data); - var _issues_url ='