if (this.fluidbook.mobilefirst.enabled) {
var indexWidth = Math.floor(ww / 230) * 230;
$(".indexViewHolder:visible").css('width', indexWidth);
- if (this.fluidbook.mobilefirst.enabled) {
- var cw = 10 + 130 * this.fluidbook.bookmarks.getBookmarkedGroups(true).length;
- fullscreen = (cw >= ww * 0.9);
- if (!fullscreen) {
- w = Math.max(400, cw + 30);
- }
- } else {
- fullscreen = true;
+ var cw = 30 + 10 + 130 * this.fluidbook.bookmarks.getBookmarkedGroups(true).length;
+ fullscreen = (cw >= ww * 0.75) || ww <= 520;
+ if (!fullscreen) {
+ w = Math.max(400, cw);
}
} else {
var max = Math.floor((ww * 0.8) / 120) * 120 + 40;