this.waitForTimer = true;
this.waitForReady = true;
+ var min = parseFloat(this.fluidbook.settings.splashMinimalTime);
+ if (min < 5 || isNaN(min)) {
+ min = 5;
+ }
+
var $this = this;
this.initTime = Date.now();
setTimeout(function () {
$this.waitForTimer = false;
$this.hideIfPossible();
- }, parseFloat(this.fluidbook.settings.splashMinimalTime) * 1000);
+ }, min * 1000);
},
this.fluidbook.pagetransitions.flip3d.performancesTest(function () {
$this.fluidbook.networkControl.resume();
var timeout = $this.hideSplashTimeout;
- if (window.SCORM !== undefined && window.SCORM===true) {
+ if (window.SCORM !== undefined && window.SCORM === true) {
timeout += 5;
}
setTimeout(function () {