summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_info.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2016-02-09 13:16:16 -0800
committerReed Garmsen <rgarmsen2295@gmail.com>2016-02-12 13:06:45 -0800
commit081d5c22c795939a2b555fabf9daf42933e6ae99 (patch)
treeb22970ce5630b32b9ffc000fac12c1cdcffb3106 /web/react/components/post_info.jsx
parent45dfd516aab37c1c336ac3410ee8db0d7c56d65a (diff)
downloadchat-081d5c22c795939a2b555fabf9daf42933e6ae99.tar.gz
chat-081d5c22c795939a2b555fabf9daf42933e6ae99.tar.bz2
chat-081d5c22c795939a2b555fabf9daf42933e6ae99.zip
Added permalink feature to posts in the RHS
Diffstat (limited to 'web/react/components/post_info.jsx')
-rw-r--r--web/react/components/post_info.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index 6d82423d5..c44223b1f 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -144,7 +144,8 @@ export default class PostInfo extends React.Component {
);
}
- handlePermalink() {
+ handlePermalink(e) {
+ e.preventDefault();
EventHelpers.showGetPostLinkModal(this.props.post);
}