* Adding permalink back to mobile

* Improving reply flow and fixing colorpicker on mobile

* Hiding colorpicker on click only for mobile size screens
Этот коммит содержится в:
Asaad Mahmood
2016-08-01 20:17:27 +05:00
коммит произвёл Christopher Speller
родитель 0b5a25a39e
Коммит b263b0eb98
8 изменённых файлов: 76 добавлений и 54 удалений

Просмотреть файл

@@ -66,24 +66,22 @@ export default class RhsComment 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_comment.permalink'
defaultMessage='Permalink'
/>
</a>
</li>
);
}
<FormattedMessage
id='rhs_comment.permalink'
defaultMessage='Permalink'
/>
</a>
</li>
);
if (isOwner && !isSystemMessage) {
dropdownContents.push(