blob: 5215ce9c4baabeeb42116f045ec5cc9eb248e7a6 (
plain)
1
2
3
4
5
6
7
8
9
|
(function() {
$(document).on('todo:toggle', function(e, count) {
var $todoPendingCount = $('.todos-pending-count');
$todoPendingCount.text(gl.text.addDelimiter(count));
$todoPendingCount.toggleClass('hidden', count === 0);
});
})();
|