[Clinet] Fix bug

This commit is contained in:
syuilo 2017-02-19 08:22:37 +09:00
parent 7b2563ffa3
commit cd17c3bf84

View file

@ -2,7 +2,8 @@
<header>
<div>
<button class="cancel" onclick={ cancel }><i class="fa fa-times"></i></button>
<div><span class="text-count { over: refs.text.value.length > 1000 }">{ 1000 - refs.text.value.length }</span>
<div>
<span if={ refs.text } class="text-count { over: refs.text.value.length > 1000 }">{ 1000 - refs.text.value.length }</span>
<button class="submit" onclick={ post }>投稿</button>
</div>
</div>