var dim = this.fluidbook.menu.index.getThumbDimensions(group.page);
index += '<div class="doubleThumb simple left"' + dim.doublethumb + ' page="' + group.page + '" data-pages="' + pages.join(',') + '">';
- index += this.fluidbook.menu.index._thumb(group.page, 'left', 100, group.name);
+ index += this.fluidbook.menu.index._thumb(group.page, 'left', this.fluidbook.mobilefirst.enabled?undefined:100, group.name);
if (this.fluidbook.bookmarks.enabled) {
index += this.fluidbook.bookmarks.getBookmarkForPage(group.page, true, true);
}
var dim = this.fluidbook.menu.index.getThumbDimensions(p);
index += '<div class="doubleThumb simple left"' + dim.doublethumb + ' page="' + p + '" data-pages="' + p + '">';
- index += this.fluidbook.menu.index._thumb(p, 'left', 100);
+ index += this.fluidbook.menu.index._thumb(p, 'left', this.fluidbook.mobilefirst.enabled?undefined:100);
if (this.fluidbook.bookmarks.enabled) {
index += this.fluidbook.bookmarks.getBookmarkForPage(p, true, true);
}
height = 'auto';
}
if (this.fluidbook.mobilefirst.enabled) {
-
var ph;
if (height === 'auto') {
ph = this.fluidbook.loader.getPageDimensions(page, 100).height;
ph = height;
}
+ console.log(page, height, ph);
+
h = ' style="height:' + ph + 'px;"'
pnt = ' style="top:' + (ph - 5) + 'px;" data-top="' + (ph - 5) + '"';
dth = ' style="height:' + ph + 'px;" data-height="' + ph + '" ';