From c1ab753bc3ccc77bbf5c454760b222285036d4c2 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Sat, 17 Nov 2018 14:22:33 -0500 Subject: [PATCH] use paginationBlock --- public/src/modules/navigator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js index c4fa80548e..930e8f9830 100644 --- a/public/src/modules/navigator.js +++ b/public/src/modules/navigator.js @@ -14,9 +14,9 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co navigator.scrollActive = false; var paginationBlockEl = $('.pagination-block'); - var paginationTextEl = $('.pagination-block .pagination-text'); - var paginationBlockMeterEl = $('.pagination-block meter'); - var paginationBlockProgressEl = $('.pagination-block .progress-bar'); + var paginationTextEl = paginationBlockEl.find('.pagination-text'); + var paginationBlockMeterEl = paginationBlockEl.find('meter'); + var paginationBlockProgressEl = paginationBlockEl.find('.progress-bar'); $(window).on('action:ajaxify.start', function () {