Commit 3f90e77a authored by Arthur Verschaeve's avatar Arthur Verschaeve

Puremvc: remove count from clear completed butotn

parent f73b9104
......@@ -30,7 +30,7 @@
<a id="filterCompleted" href="#/completed">Completed</a>
</li>
</ul>
<button id="clear-completed">Clear completed (1)</button>
<button id="clear-completed">Clear completed</button>
</footer>
</section>
<footer id="info">
......
......@@ -259,7 +259,7 @@ puremvc.define({
updateClearButton: function() {
this.clearButton.style.display = ( this.stats.todoCompleted === 0 ) ? 'none' : 'block';
this.clearButton.innerHTML = 'Clear completed (' + this.stats.todoCompleted + ')';
this.clearButton.innerHTML = 'Clear completed';
},
updateTodoCount: function() {
......
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