[Clinet] Fix bug

This commit is contained in:
syuilo 2017-02-19 08:22:37 +09:00
parent 337589477a
commit 9338091896
1 changed files with 2 additions and 1 deletions

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>