if ("onorientationchange" in window) {
window.addEventListener('orientationchange', function () {
resize();
+ $this.checkOrientation();
setTimeout(function () {
resize();
+ $this.checkOrientation();
}, 750);
}, false);
} else {
initEvents: function () {
var $this = this;
$(this.fluidbook).on('fluidbook.orientationchange', function () {
+ $('.fb-slideshow-wrapper.dummy.fb-slideshow-inline .fb-slideshow').css('visibility', 'hidden');
setTimeout(function () {
if ($this.fluidbook.support.getOrientation() === 90) {
$('.fb-slideshow-wrapper.dummy.fb-slideshow-inline .fb-slideshow').each(function () {
} else {
$this.initSlideshow($(this));
}
+ $(this).css('visibility', 'visible');
});
}
}, 2000);