diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js index 91c8ca1f8c..c1d6752cd2 100644 --- a/public/src/modules/navigator.js +++ b/public/src/modules/navigator.js @@ -61,7 +61,11 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co e.stopPropagation(); var x = Math.min($(window).width(), Math.max(0, e.touches[0].clientX)); var percent = x / $(window).width(); - index = Math.floor(count * percent); + var newIndex = Math.floor(count * percent); + if (newIndex === index) { + return; + } + index = newIndex; navigator.updateTextAndProgressBar(); }).on('touchend', function () { navigator.scrollToIndex(index - 1, true);