Commit bc5391d3 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Componentjs: remove count from clear completed button

parent 5c026282
......@@ -33,7 +33,7 @@
<li><a href="#" data-tag="completed">Completed</a></li>
</ul>
<button class="todo__completed todo__button">
Clear completed (<span data-bind="data:status-items-completed"></span>)
Clear completed
</button>
</footer>
</div>
......
......@@ -165,7 +165,6 @@
func: function (ev, value) {
if (value > 0) {
$('.todo__completed', ui).css('display', 'block');
$('*[data-bind=\'data:status-items-completed\']', ui).text(value);
} else {
$('.todo__completed', ui).css('display', 'none');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment