Workaround an issue in Composer when deleting the post's content and

it can't remove the last 'br'.

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
feature/noid/sql-rewrite-0929
Cyrille Bollu 2019-09-11 13:00:19 +02:00
rodzic 34f8b1d8cc
commit 94e366c259
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -90,7 +90,7 @@
</masonry>
<div class="options">
<input :value="currentVisibilityPostLabel" :disabled="post.length < 1" class="submit primary"
<input :value="currentVisibilityPostLabel" :disabled="post.length < 1 || post==='br'" class="submit primary"
type="submit" title="" data-original-title="Post">
<div v-click-outside="hidePopoverMenu">
<button :class="currentVisibilityIconClass" @click.prevent="togglePopoverMenu" />