From d7a533645a1d7c1f703c197e5f1f4ed108c58c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kay=20=C5=9Eat=C4=B1r?= Date: Mon, 4 Apr 2022 18:07:59 +0300 Subject: [PATCH] Correct iFrame links. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gökay Şatır Change-Id: Ia0f945f8f1e667541b7d8d7b1613538f65501fef --- browser/src/map/handler/Map.Welcome.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/browser/src/map/handler/Map.Welcome.js b/browser/src/map/handler/Map.Welcome.js index 2ec27686c481..e048b640a32e 100644 --- a/browser/src/map/handler/Map.Welcome.js +++ b/browser/src/map/handler/Map.Welcome.js @@ -14,8 +14,7 @@ L.Map.Welcome = L.Handler.extend({ L.Handler.prototype.initialize.call(this, map); this._map.on('statusindicator', this.onStatusIndicator, this); - this._url = window.enableWelcomeMessage ? L.LOUtil.getURL('/welcome/welcome.html') : - window.welcomeUrl; + this._url = window.welcomeUrl ? window.welcomeUrl: L.LOUtil.getURL('/welcome/welcome.html'); this._retries = 2; this._fallback = false; },