From 10bc6842e89ee1467a93ddb05bd66b64496dba4b Mon Sep 17 00:00:00 2001 From: Patrick <patrick.wuerstle@gmx.de> Date: Sat, 28 Nov 2020 10:44:38 +0100 Subject: [PATCH] test ipad 07 --- vcm/templates/story/virtualcitystory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcm/templates/story/virtualcitystory.js b/vcm/templates/story/virtualcitystory.js index 6a23d5e70..8cb8bd94a 100644 --- a/vcm/templates/story/virtualcitystory.js +++ b/vcm/templates/story/virtualcitystory.js @@ -132,8 +132,8 @@ 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_mobile.json") +if (checkagent() == true && is_touch_device() == true && checkIpad() == true && framework.isMobile() == false ){ + vcs.vcm.Framework.loadConfig("config_ipad.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 -- GitLab