checkLogoVisibility: function () {
var logo = document.getElementById("logo").getBoundingClientRect();
var fluidbook = document.getElementById("fluidbook").getBoundingClientRect();
- var hidden = logo.bottom > fluidbook.top && logo.left < fluidbook.right;
+ var hidden = logo.bottom > fluidbook.top && logo.left < (fluidbook.right - $("#center-fluidbook").data('left'));
if (hidden) {
$("#logo").addClass('hidden');
} else {
if (changeOrientation) {
$(this.fluidbook).trigger('fluidbook.resize.beforeOrientationChange');
this.fluidbook.zoom.resetZoom();
- if(!this.fluidbook.firstTransition) {
+ if (!this.fluidbook.firstTransition) {
this.fluidbook.pageTransition();
}
$(this.fluidbook).trigger('fluidbook.resize.orientation', {orientation: this.orientation});