Compare commits
4 commits
648ce3dda1
...
c9e1a26f41
Author | SHA1 | Date | |
---|---|---|---|
c9e1a26f41 | |||
025acda827 | |||
0180c7e4a8 | |||
7a585a261a |
6 changed files with 18 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -24,6 +24,6 @@ package:
|
|||
ifneq ("$(wildcard $(OUTFILE_ZIP))","")
|
||||
rm $(OUTFILE_ZIP)
|
||||
endif
|
||||
zip -r $(OUTFILE_ZIP) $(BUILD_DIR)
|
||||
zip -r -9 $(OUTFILE_ZIP) $(BUILD_DIR)
|
||||
|
||||
# vim:set noexpandtab:
|
||||
|
|
|
@ -10,6 +10,8 @@ The differences from the upstream repository are described below:
|
|||
|
||||
### How to build
|
||||
|
||||
**Requires 2GB+ memory.**
|
||||
|
||||
```sh
|
||||
# Docker
|
||||
make
|
||||
|
|
|
@ -18,8 +18,10 @@
|
|||
:placeholder="$t('polls.option')"
|
||||
:maxlength="maxLength"
|
||||
@change="updatePollToParent"
|
||||
@keydown.enter.stop.prevent="$event.isComposing || $event.keyCode === 229 || nextOption(index)"
|
||||
>
|
||||
@keydown.enter.stop.prevent="
|
||||
$event.isComposing || $event.keyCode === 229 || nextOption(index)
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
<button
|
||||
v-if="options.length > 2"
|
||||
|
|
|
@ -167,7 +167,11 @@
|
|||
: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="
|
||||
$event.isComposing ||
|
||||
$event.keyCode === 229 ||
|
||||
(submitOnEnter && postStatus($event, newStatus))
|
||||
"
|
||||
@keydown.meta.enter="postStatus($event, newStatus)"
|
||||
@keydown.ctrl.enter="!submitOnEnter && postStatus($event, newStatus)"
|
||||
@input="resize"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
v-model="searchTerm"
|
||||
class="search-input"
|
||||
:placeholder="$t('nav.search')"
|
||||
@keyup.enter="$event.isComposing || $event.keyCode === 229 || newQuery(searchTerm)"
|
||||
@keydown.enter="
|
||||
$event.isComposing || $event.keyCode === 229 || newQuery(searchTerm)
|
||||
"
|
||||
>
|
||||
<button
|
||||
class="btn button-default search-button"
|
||||
|
|
|
@ -24,7 +24,9 @@
|
|||
class="search-bar-input"
|
||||
:placeholder="$t('nav.search')"
|
||||
type="text"
|
||||
@keyup.enter="$event.isComposing || $event.keyCode === 229 || find(searchTerm)"
|
||||
@keydown.enter="
|
||||
$event.isComposing || $event.keyCode === 229 || find(searchTerm)
|
||||
"
|
||||
>
|
||||
<button
|
||||
class="button-default search-button"
|
||||
|
|
Loading…
Reference in a new issue