diff --git a/resources/assets/js/vues/page-comments.js b/resources/assets/js/vues/page-comments.js index 6a550e991..e42cdbf9c 100644 --- a/resources/assets/js/vues/page-comments.js +++ b/resources/assets/js/vues/page-comments.js @@ -44,7 +44,6 @@ let computed = { function mounted() { this.pageId = Number(this.$el.getAttribute('page-id')); - // let linkedCommentId = this.$route.query.cm; let linkedCommentId = getUrlParameter('cm'); this.$http.get(window.baseUrl(`/ajax/page/${this.pageId}/comments/`)).then(resp => { if (!isCommentOpSuccess(resp)) { @@ -61,7 +60,8 @@ function mounted() { return; } - // adding a setTimeout to give comment list some time to render. + // adding a setTimeout to give the comment list some time to render + // before focusing the comment. setTimeout(function() { focusLinkedComment(linkedCommentId); }); diff --git a/resources/views/comments/comment-reply.blade.php b/resources/views/comments/comment-reply.blade.php deleted file mode 100644 index 02535341c..000000000 --- a/resources/views/comments/comment-reply.blade.php +++ /dev/null @@ -1,12 +0,0 @@ -
-
- - - - -
-
- -@if($errors->has('markdown')) -
{{ $errors->first('markdown') }}
-@endif \ No newline at end of file diff --git a/resources/views/comments/list-item.blade.php b/resources/views/comments/list-item.blade.php deleted file mode 100644 index 72984d68d..000000000 --- a/resources/views/comments/list-item.blade.php +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
- user avatar -
-
- -
- -
-
- {{ trans('entities.comment_deleted') }} -
-
- -
- -
-
-
-
-
-
-
\ No newline at end of file