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:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user