From 0f694c624d6a73e940fd1355d4845abb452ddbab Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Mon, 22 Feb 2021 13:20:37 +0530 Subject: [PATCH] small patch fix at switchTab in iFrame (#3435) --- build/js/IFrame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/js/IFrame.js b/build/js/IFrame.js index 93f335f2a..993d070f4 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -108,12 +108,12 @@ class IFrame { $loadingScreen.fadeIn() $(`${tabId} iframe`).ready(() => { if (typeof this._config.loadingScreen === 'number') { - this.switchTab(`#${navId}`, this._config.loadingScreen) + this.switchTab(`#${navId}`) setTimeout(() => { $loadingScreen.fadeOut() }, this._config.loadingScreen) } else { - this.switchTab(`#${navId}`, this._config.loadingScreen) + this.switchTab(`#${navId}`) $loadingScreen.fadeOut() } })