From 44be5fc6d1f39c4993ba00510d4997193793ba7d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 07 2016 14:02:42 +0000 Subject: Fix the formatting on the comments added via the event source --- diff --git a/pagure/static/request_ev.js b/pagure/static/request_ev.js index 6f8d64d..f91ad12 100644 --- a/pagure/static/request_ev.js +++ b/pagure/static/request_ev.js @@ -1,9 +1,12 @@ add_comment = function(data) { console.log('Adding comment ' + data.comment_added); var field = $('#comments'); - var edit_btn = ' \ - reply '; + var edit_btn = ' \ + \ + '; var inline = false; if (data.commit_id){ inline = true; @@ -29,22 +32,19 @@ add_comment = function(data) { \ \
\ - \ -
\ - \ +
\ +
\ + \ + \ + ' + + edit_btn + + ' \ +
\ +
\ '; if (inline){