From: hylom Date: Thu, 25 Apr 2019 09:55:31 +0000 (+0900) Subject: hide 'share' button in comment preview (#7681) X-Git-Tag: v0.1.12~36 X-Git-Url: http://git.osdn.net/view?p=newslash%2Fnewslash.git;a=commitdiff_plain;h=2ea4730c8ed85300bd03f3cbcd5f57d8e23a626a hide 'share' button in comment preview (#7681) --- diff --git a/src/newslash_web/public/js/comment-tree.js b/src/newslash_web/public/js/comment-tree.js index 3df6fdfd..581c637c 100644 --- a/src/newslash_web/public/js/comment-tree.js +++ b/src/newslash_web/public/js/comment-tree.js @@ -112,6 +112,7 @@ commentTree.run = function (params) { }, props: { comment: Object, + preview: { type: Boolean, default: false }, }, created: function () { if (this.comment._displayForce) { diff --git a/src/newslash_web/templates/common/comment/comment.html.tt2 b/src/newslash_web/templates/common/comment/comment.html.tt2 index ba951676..bf5695d4 100644 --- a/src/newslash_web/templates/common/comment/comment.html.tt2 +++ b/src/newslash_web/templates/common/comment/comment.html.tt2 @@ -84,7 +84,7 @@ ここに返信 - + diff --git a/src/newslash_web/templates/common/components/comment_tree.html.tt2 b/src/newslash_web/templates/common/components/comment_tree.html.tt2 index a89eddf3..db12cc06 100644 --- a/src/newslash_web/templates/common/components/comment_tree.html.tt2 +++ b/src/newslash_web/templates/common/components/comment_tree.html.tt2 @@ -117,7 +117,7 @@