Commit ad07dd2a authored by Arthur Verschaeve's avatar Arthur Verschaeve

Kendo: remove count from clear completed button

parent 33e3e1cb
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
</ul> </ul>
<button id="clear-completed" <button id="clear-completed"
data-bind="click: destroyCompleted, data-bind="click: destroyCompleted,
visible: completedCount, visible: completedCount">
text: clearCompletedText"> Clear completed
</button> </button>
</footer> </footer>
</section> </section>
......
...@@ -164,9 +164,6 @@ var app = app || {}; ...@@ -164,9 +164,6 @@ var app = app || {};
activeCountText: function () { activeCountText: function () {
return this.activeCount() === 1 ? 'item' : 'items'; return this.activeCount() === 1 ? 'item' : 'items';
}, },
clearCompletedText: function () {
return 'Clear completed (' + this.completedCount() + ')';
},
// Class attribute bound methods // Class attribute bound methods
todoItemClass: function (item) { todoItemClass: function (item) {
......
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