|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
|
/*globals config, utils, NProgress*/
|
|
|
|
|
/*globals ajaxify, config, utils, NProgress*/
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
setupSlideMenu();
|
|
|
|
@ -166,8 +166,11 @@ $(document).ready(function() {
|
|
|
|
|
toPage = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handle.html(toPage);
|
|
|
|
|
|
|
|
|
|
if (parseInt(handle.html(), 10) !== toPage) {
|
|
|
|
|
handle.html(toPage);
|
|
|
|
|
handle.removeClass('animated');
|
|
|
|
|
setTimeout(function() { handle.addClass('animated');}, 10);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
handle.css('left', page / ajaxify.data.pageCount * handle.parents('[component="post"]').width() + 'px');
|
|
|
|
|