about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-07-22 22:32:03 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-07-22 22:32:03 +0200
commit852acbd7385a640d9e00e462d58a847851744034 (patch)
tree9158d2aea71fc1cc20a62d3f524cd159e71c947e /app/javascript
parent6913426e48b7dd5b44d9d085fdd8c4eb35903ccb (diff)
amend 3ba7c1e7 to actually do what I wanted to do *facepalm*
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/compose/components/compose_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/compose_form.js b/app/javascript/mastodon/features/compose/components/compose_form.js
index 9137493e7..837bf8fcb 100644
--- a/app/javascript/mastodon/features/compose/components/compose_form.js
+++ b/app/javascript/mastodon/features/compose/components/compose_form.js
@@ -185,7 +185,7 @@ export default class ComposeForm extends ImmutablePureComponent {
             onSuggestionsClearRequested={this.onSuggestionsClearRequested}
             onSuggestionSelected={this.onSuggestionSelected}
             onPaste={onPaste}
-            autoFocus={!showSearch && isMobile(window.innerWidth)}
+            autoFocus={!showSearch && !isMobile(window.innerWidth)}
           />
 
           <EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />