return true;
});
+ $(this.fluidbook).on('fluidbook.resize.orientation', function () {
+ $this.zoomLinkReset(true);
+ });
+
+
$(document).on('click', '#zoomPopupOverlay, #zoomPopupWrapper, #zoomPopupClose', function (e) {
$this.zoomLinkReset();
return false;
});
},
+ zoomLinkClose: function (immediate) {
+ return this.zoomLinkReset(immediate);
+ },
+
zoomLinkReset: function (immediate) {
+ if ($('#zoomPopupWrapper:visible').length == 0) {
+ return;
+ }
+
if (immediate == undefined) {
immediate = false;
}
$(window).scrollTop(0);
$(window).trigger('fluidbookresize');
+ $(this.fluidbook).trigger('fluidbook.resize');
},
resizeNav: function (interfaceScale) {
var topNext = (this.hh - (100 * interfaceScale)) / 2;
if (changeOrientation) {
this.fluidbook.zoom.resetZoom();
this.fluidbook.pageTransition();
+ $(this.fluidbook).trigger('fluidbook.resize.orientation');
}
},
getScreenFluidbookWidth: function () {