Make progress bar finer

v1.18.x
RoiEX 8 years ago committed by Julian Lam
parent 1fd160a4e6
commit 5e4e523198

@ -165,7 +165,7 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
index = index > count ? count : index;
$('.pagination-block .pagination-text').translateHtml('[[global:pagination.out_of, ' + index + ', ' + count + ']]');
$('.pagination-block .progress-bar').width((index / count * 100) + '%');
$('.pagination-block .progress-bar').width(($(window).scrollTop() / ($(document).height() - $(window).height()) * 100) + '%');
};
navigator.scrollUp = function () {

Loading…
Cancel
Save