Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
10bc6842
Commit
10bc6842
authored
Nov 28, 2020
by
Patrick
Browse files
test ipad 07
parent
8331cf54
Changes
1
Show whitespace changes
Inline
Side-by-side
vcm/templates/story/virtualcitystory.js
View file @
10bc6842
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment