PLT-4343 Fixes for mobile main menu (#4148)
* Fixed mobile app link in the main menu to be displayed on mobile browsers * Fixed doubled up dividers in mobile menu * Added scrolling to mobile main menu
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b9dc759449
Коммит
816a738d28
@@ -95,7 +95,7 @@ export default class EditPostModal extends React.Component {
|
||||
}
|
||||
|
||||
handleEditKeyPress(e) {
|
||||
if (!UserAgent.isMobileApp() && !this.state.ctrlSend && e.which === KeyCodes.ENTER && !e.shiftKey && !e.altKey) {
|
||||
if (!UserAgent.isMobile() && !this.state.ctrlSend && e.which === KeyCodes.ENTER && !e.shiftKey && !e.altKey) {
|
||||
e.preventDefault();
|
||||
ReactDOM.findDOMNode(this.refs.editbox).blur();
|
||||
this.handleEdit();
|
||||
|
||||
Ссылка в новой задаче
Block a user