gitlab-org--gitlab-foss/app/assets/javascripts/header.js
2016-10-27 21:35:07 +02:00

10 lines
272 B
JavaScript

/* eslint-disable */
(function() {
$(document).on('todo:toggle', function(e, count) {
var $todoPendingCount = $('.todos-pending-count');
$todoPendingCount.text(gl.text.addDelimiter(count));
$todoPendingCount.toggleClass('hidden', count === 0);
});
})();