Commit 8331cf54 authored by Patrick's avatar Patrick
Browse files

test ipad 06

parent fa38e82c
......@@ -5,9 +5,9 @@
// // document.body.style.msTransform = scale; // IE 9
// // document.body.style.transform = scale; // General
$("#tour-button").hide();
// console.log("checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad());
// document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad();
// checkagent();
console.log("checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad());
document.getElementById("redtext").innerHTML = "checkagent: " + checkagent() + " istouchdevice: " + is_touch_device() + " isipad:" + checkIpad();
checkagent();
// removebuildings();
......
......@@ -133,7 +133,7 @@ vcs.vcm.Framework.getInstance().subscribe("MAP_LOADED", function() {
var framework = vcs.vcm.Framework.getInstance();
if (checkagent() == true && is_touch_device() == true && checkIpad() == true){
vcs.vcm.Framework.loadConfig("config_ipad.json")
vcs.vcm.Framework.loadConfig("config_mobile.json")
var drop = document.getElementById("dropdownMain")
drop.classList.add('can-touch')
drop.style.display = "none"; // add "can-touch" class to document root using classList API
......
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