Commit 18f6bd1c authored by Patrick's avatar Patrick
Browse files

ipad test 08

parent 10bc6842
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
// // document.body.style.msTransform = scale; // IE 9 // // document.body.style.msTransform = scale; // IE 9
// // document.body.style.transform = scale; // General // // document.body.style.transform = scale; // General
$("#tour-button").hide(); $("#tour-button").hide();
console.log("checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad()); // console.log("checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad());
document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad(); // document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad();
checkagent(); // checkagent();
if (checkagent() == true && is_touch_device() == true && checkIpad() == true && framework.isMobile() == false ){
changeColor(true);
}
// removebuildings(); // removebuildings();
......
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