Use conditional class for reply icon color.

This commit is contained in:
shpuld 2017-03-10 00:49:22 +02:00
parent df4dad1804
commit 3bb5f86d0d
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@
<div class='status-actions'> <div class='status-actions'>
<div> <div>
<a href="#" v-on:click.prevent="toggleReplying"> <a href="#" v-on:click.prevent="toggleReplying">
<i class="fa icon-reply icon-reply-active" v-if="replying"></i> <i class="fa icon-reply" :class="{'icon-reply-active': replying}"></i>
<i class="fa icon-reply" v-else></i>
</a> </a>
</div> </div>
<retweet-button :status=status></retweet-button> <retweet-button :status=status></retweet-button>