mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
closes #1502
This commit is contained in:
@@ -75,7 +75,10 @@ define(function() {
|
||||
};
|
||||
|
||||
navigator.updateTextAndProgressBar = function() {
|
||||
$('#pagination').html(index + ' out of ' + count);
|
||||
translator.translate('[[global:pagination.out_of, ' + index + ', ' + count + ']]', function(translated) {
|
||||
$('#pagination').html(translated);
|
||||
});
|
||||
|
||||
$('.pagination-block .progress-bar').width((index / count * 100) + '%');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user