Revert "Make events respect IM composition"
This reverts commit a725d8fbc3
.
This commit is contained in:
parent
648ce3dda1
commit
7a585a261a
4 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
|||
:placeholder="$t('polls.option')"
|
||||
:maxlength="maxLength"
|
||||
@change="updatePollToParent"
|
||||
@keydown.enter.stop.prevent="$event.isComposing || $event.keyCode === 229 || nextOption(index)"
|
||||
@keydown.enter.stop.prevent="nextOption(index)"
|
||||
>
|
||||
</div>
|
||||
<button
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
:disabled="posting && !optimisticPosting"
|
||||
class="form-post-body"
|
||||
:class="{ 'scrollable-form': !!maxHeight }"
|
||||
@keydown.exact.enter="$event.isComposing || $event.keyCode === 229 || submitOnEnter && postStatus($event, newStatus)"
|
||||
@keydown.exact.enter="submitOnEnter && postStatus($event, newStatus)"
|
||||
@keydown.meta.enter="postStatus($event, newStatus)"
|
||||
@keydown.ctrl.enter="!submitOnEnter && postStatus($event, newStatus)"
|
||||
@input="resize"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
v-model="searchTerm"
|
||||
class="search-input"
|
||||
:placeholder="$t('nav.search')"
|
||||
@keyup.enter="$event.isComposing || $event.keyCode === 229 || newQuery(searchTerm)"
|
||||
@keyup.enter="newQuery(searchTerm)"
|
||||
>
|
||||
<button
|
||||
class="btn button-default search-button"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
class="search-bar-input"
|
||||
:placeholder="$t('nav.search')"
|
||||
type="text"
|
||||
@keyup.enter="$event.isComposing || $event.keyCode === 229 || find(searchTerm)"
|
||||
@keyup.enter="find(searchTerm)"
|
||||
>
|
||||
<button
|
||||
class="button-default search-button"
|
||||
|
|
Loading…
Reference in a new issue