Fix small composer bugs

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/56/head
Julius Härtl 2018-11-26 14:27:59 +01:00
rodzic f6f7f2cd6a
commit 4c6c07dda1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -61,7 +61,7 @@
<input :value="t('social', 'Post')" :disabled="post.length < 1" class="submit primary"
type="submit" title="" data-original-title="Post">
<div>
<button :class="currentVisibilityIconClass" @click="togglePopoverMenu" />
<button :class="currentVisibilityIconClass" @click.prevent="togglePopoverMenu" />
<div :class="{open: menuOpened}" class="popovermenu">
<PopoverMenu :menu="visibilityPopover" />
</div>
@ -308,6 +308,9 @@ export default {
+ '<a href="' + item.original.url + '" target="_blank"><img src="' + item.original.avatar + '" />@' + item.original.value + '</a></span>'
},
values: (text, cb) => {
if (text.length < 1) {
cb([])
}
this.remoteSearch(text).then((result) => {
let users = []
if (result.data.result.exact) {