summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/header.js
diff options
context:
space:
mode:
authormhasbini <mohammad.hasbini@gmail.com>2017-02-21 21:21:49 +0200
committermhasbini <mohammad.hasbini@gmail.com>2017-02-21 21:21:49 +0200
commit0a53a3d9664187cbd8c72c24666a8ff03f3dccec (patch)
treea3bf55f0d7403ed662a09a413b23f876587deebe /app/assets/javascripts/header.js
parent881529495379505542033bf7fb0d91cdc5b51e8d (diff)
downloadgitlab-ce-0a53a3d9664187cbd8c72c24666a8ff03f3dccec.tar.gz
change todos counter position & format ( for large counts )
Diffstat (limited to 'app/assets/javascripts/header.js')
-rw-r--r--app/assets/javascripts/header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/header.js b/app/assets/javascripts/header.js
index fa85f9a6c86..a853c3aeb1f 100644
--- a/app/assets/javascripts/header.js
+++ b/app/assets/javascripts/header.js
@@ -2,7 +2,7 @@
(function() {
$(document).on('todo:toggle', function(e, count) {
var $todoPendingCount = $('.todos-pending-count');
- $todoPendingCount.text(gl.text.addDelimiter(count));
+ $todoPendingCount.text(gl.text.highCountTrim(count));
$todoPendingCount.toggleClass('hidden', count === 0);
});
})();