From f8a3b84e94f070362f4d396a6764be32eea668fa Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 20 Jul 2017 04:04:25 +0700 Subject: [PATCH] Make permalink readonly --- .../talk-plugin-permalink/client/components/PermalinkButton.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/talk-plugin-permalink/client/components/PermalinkButton.js b/plugins/talk-plugin-permalink/client/components/PermalinkButton.js index e8df91fd9..27cbf9188 100644 --- a/plugins/talk-plugin-permalink/client/components/PermalinkButton.js +++ b/plugins/talk-plugin-permalink/client/components/PermalinkButton.js @@ -84,6 +84,7 @@ export default class PermalinkButton extends React.Component { type='text' ref={(input) => this.permalinkInput = input} defaultValue={`${asset.url}?commentId=${comment.id}`} + readOnly />