Updating ESLint (#3597)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
491593b285
Коммит
b5c5744bc7
@@ -212,7 +212,7 @@ class CreatePost extends React.Component {
|
||||
}
|
||||
|
||||
postMsgKeyPress(e) {
|
||||
if (this.state.ctrlSend && e.ctrlKey || !this.state.ctrlSend) {
|
||||
if ((this.state.ctrlSend && e.ctrlKey) || !this.state.ctrlSend) {
|
||||
if (e.which === KeyCodes.ENTER && !e.shiftKey && !e.altKey) {
|
||||
e.preventDefault();
|
||||
ReactDOM.findDOMNode(this.refs.textbox).blur();
|
||||
|
||||
Ссылка в новой задаче
Block a user