1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

#47 - Changes the location of the reply and edit comment box.

This commit is contained in:
Abijeet
2017-06-05 00:20:37 +05:30
parent 689d1eb082
commit 7c6fe8c4e2
6 changed files with 7 additions and 7 deletions

View File

@@ -848,7 +848,7 @@ module.exports = function (ngApp, events) {
comment.updated_by = resp.comment.updated_by;
comment.active = resp.comment.active;
if (isDelete && !resp.comment.active) {
comment.html = trans('activities.comment_deleted');
comment.html = trans('entities.comment_deleted');
} else {
comment.html = resp.comment.html;
}

View File

@@ -890,7 +890,7 @@ module.exports = function (ngApp, events) {
});
element.on('click', function () {
var $container = element.parents('.comment-box').first();
var $container = element.parents('.comment-actions').first();
if (!$container.length) {
console.error('commentReplyLink directive should be placed inside a container with class comment-box!');
return;