From: Vincent Vanwaelscappel Date: Mon, 20 Jan 2020 17:52:08 +0000 (+0100) Subject: wip #3313 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cf7d0a1b7710101c6391460ef07b71f7a385ce8b;p=fluidbook-html5.git wip #3313 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.help.js b/js/libs/fluidbook/fluidbook.help.js index 9f3633ac..059ec873 100644 --- a/js/libs/fluidbook/fluidbook.help.js +++ b/js/libs/fluidbook/fluidbook.help.js @@ -206,7 +206,7 @@ FluidbookHelp.prototype = { var $this = this; this.overlay.show(); - this.view.css('opacity',0).show(); + this.view.css('opacity', 0).show(); this.view.find('.interface').show(); $("#help-illustrations").css('opacity', '0'); @@ -223,7 +223,7 @@ FluidbookHelp.prototype = { $this.resize(); $("body,#previous,#next").addClass('help'); this.fluidbook.showAllButtons(); - $this.view.css('opacity',1); + $this.view.css('opacity', 1); }, 50); setTimeout(function () { $this.resize(); @@ -392,12 +392,17 @@ FluidbookHelp.prototype = { this.ignoreResize = true; setTimeout(function () { $this.ignoreResize = false; - }, (time+1) * 1000); + }, (time + 1) * 1000); this.show(time); if (this.fluidbook.pad.enabled) { this.fluidbook.pad.displayInterface(); } } else { + if (this.fluidbook.datas.landscapeWarning !== '' && (this.fluidbook.support.iOS || this.fluidbook.support.android)) { + this.fluidbook.menu.openView('text', this.fluidbook.datas.landscapeWarning, function () { + + }); + } this.fluidbook.hideUnnecessaryButtons(); } }