Commit 79b7f24a authored by Patrick's avatar Patrick
Browse files

iphone legende Text removed

parent 8c6dbdf1
...@@ -10,8 +10,11 @@ $("#tour-button").hide(); ...@@ -10,8 +10,11 @@ $("#tour-button").hide();
// checkagent(); // checkagent();
// removebuildings(); // removebuildings();
var checkExist = setInterval(function() { var checkExist = setInterval(function() {
if ($('.featured-company').length) { if ($('.featured-company').length) {
if (framework.isMobile() == false){
var fCompany = document.getElementsByClassName("featured-company")[0]; var fCompany = document.getElementsByClassName("featured-company")[0];
fCompany.setAttribute("id", "featuredCompany"); fCompany.setAttribute("id", "featuredCompany");
var comp = document.getElementById("featuredCompany"); var comp = document.getElementById("featuredCompany");
...@@ -22,7 +25,7 @@ var checkExist = setInterval(function() { ...@@ -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);"); 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); comp.appendChild(g);
clearInterval(checkExist); clearInterval(checkExist);
} }}
}, 200); }, 200);
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment