let dimCover = $this.linkeditor.utils.getPageDimensions(1);
let pw;
let ph;
+ let special = false;
- $(".linkeditor-page[data-page]").each(function () {
+ $(".linkeditor-page[data-page]:visible").each(function () {
let p = $(this).attr('data-page');
let dim = $this.linkeditor.utils.getPageDimensions(p);
if (dim === undefined) {
ph = dim[1];
if ($this.linkeditor.utils.isSpecialPage(p)) {
-
+ special = true;
} else if ($this.linkeditor.mobileFirst) {
pw = dimCover[0];
} else {
});
let fw = pw;
- if (!this.linkeditor.single) {
+ if (!this.linkeditor.single && !special) {
fw *= 2;
}
$("#linkeditor-page-right").css({left: this.linkeditor.pw});