From 29a3706ec3c3523ac8bf552c68e675f0c956986c Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 30 Sep 2016 14:19:00 +0100 Subject: PLT-4307 - fix !channel link hrefs. (#4122) * PLT-4307 - fix !channel link hrefs. * Fix style. --- webapp/utils/utils.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/utils/utils.jsx') diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index ffc676e63..25a9dfa7d 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -1374,6 +1374,7 @@ export function handleFormattedTextClick(e) { browserHistory.push(linkAttribute.value); } } else if (channelMentionAttribute) { + e.preventDefault(); browserHistory.push('/' + TeamStore.getCurrent().name + '/channels/' + channelMentionAttribute.value); } } -- cgit v1.2.3-1-g7c22