From 79b7f24a7a5e30fb5f30b9d0657a60fe5bdd2149 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 30 Nov 2020 16:13:54 +0100 Subject: [PATCH] iphone legende Text removed --- vcm/templates/custom.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcm/templates/custom.js b/vcm/templates/custom.js index 0efd3f291..10bf4fe15 100644 --- a/vcm/templates/custom.js +++ b/vcm/templates/custom.js @@ -10,8 +10,11 @@ $("#tour-button").hide(); // checkagent(); // removebuildings(); + var checkExist = setInterval(function() { + if ($('.featured-company').length) { + if (framework.isMobile() == false){ var fCompany = document.getElementsByClassName("featured-company")[0]; fCompany.setAttribute("id", "featuredCompany"); var comp = document.getElementById("featuredCompany"); @@ -22,7 +25,7 @@ var checkExist = setInterval(function() { g.setAttribute("style", "font-size: large; position: absolute; top: -31px; left: -2px;font-weight: bold; width: 100px; padding: 5px; text-align: center; vertical-align: middle; background: rgba(255,255,255,0.9);"); comp.appendChild(g); clearInterval(checkExist); - } + }} }, 200); }; -- GitLab