summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_root_post.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2016-08-01 20:17:27 +0500
committerChristopher Speller <crspeller@gmail.com>2016-08-01 11:17:27 -0400
commitb263b0eb98678a8a55d8c8adeb9bb22323a706f6 (patch)
tree330b39eb09734c7d5c3033fc7375ccf518fdd0d1 /webapp/components/rhs_root_post.jsx
parent0b5a25a39ef5aaca7044118d6fd9abd099e40697 (diff)
downloadchat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.tar.gz
chat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.tar.bz2
chat-b263b0eb98678a8a55d8c8adeb9bb22323a706f6.zip
Multiple Ui improvements (#3678)
* Adding permalink back to mobile * Improving reply flow and fixing colorpicker on mobile * Hiding colorpicker on click only for mobile size screens
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r--webapp/components/rhs_root_post.jsx32
1 files changed, 15 insertions, 17 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx
index 1aee008e7..cf8c3201a 100644
--- a/webapp/components/rhs_root_post.jsx
+++ b/webapp/components/rhs_root_post.jsx
@@ -91,24 +91,22 @@ export default class RhsRootPost extends React.Component {
var dropdownContents = [];
- if (!Utils.isMobile()) {
- dropdownContents.push(
- <li
- key='rhs-root-permalink'
- role='presentation'
+ dropdownContents.push(
+ <li
+ key='rhs-root-permalink'
+ role='presentation'
+ >
+ <a
+ href='#'
+ onClick={this.handlePermalink}
>
- <a
- href='#'
- onClick={this.handlePermalink}
- >
- <FormattedMessage
- id='rhs_root.permalink'
- defaultMessage='Permalink'
- />
- </a>
- </li>
- );
- }
+ <FormattedMessage
+ id='rhs_root.permalink'
+ defaultMessage='Permalink'
+ />
+ </a>
+ </li>
+ );
if (isOwner && !isSystemMessage) {
dropdownContents.push(