var cw = 10 + 130 * this.fluidbook.datas.pages;
fullscreen = (cw >= ww * 0.9);
if (!fullscreen) {
- w = cw + 30;
+ w = Math.max(400, cw + 30);
}
} else {
fullscreen = true;
var cw = 10 + 130 * this.fluidbook.bookmarks.getBookmarkedGroups(true).length;
fullscreen = (cw >= ww * 0.9);
if (!fullscreen) {
- w = cw + 30;
+ w = Math.max(400, cw + 30);
}
} else {
fullscreen = true;
},
resizeIndex: function (repeat) {
-
if (!this.enabled) {
return;
}
var scrollAmount = Math.max(0, (indexHeight + funcHeight) - maxHeight);
if (!isNaN(scrollAmount) && scrollAmount > 0) {
-
var cutHeight = tallerHeight - scrollAmount;
$(".indexViewHolder .pageholder img").each(function () {
var holder = $(this).closest('.pageholder');
setTimeout(function () {
$(".indexViewHolder").perfectScrollbar('update');
$(".indexViewHolder").find('.ps__rail-x').addClass('ps--clicking');
- }, 500)
+ }, 500);
+
$(".indexViewHolder").perfectScrollbar({
suppressScrollY: true,
useBothWheelAxes: true
});
+
$(".indexViewHolder").find('.ps__rail-x').addClass('ps--clicking');
if (repeat) {