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
e22af9e2
Commit
e22af9e2
authored
Nov 26, 2020
by
Patrick
Browse files
Test Ipad functionality
parent
42bd077f
Changes
2
Hide whitespace changes
Inline
Side-by-side
vcm/templates/checkmobile.js
View file @
e22af9e2
...
...
@@ -26,3 +26,9 @@ checkagent = function(){
return
safariAgent
}
checkIpad
=
function
(){
if
(
navigator
.
userAgent
.
match
(
/Mac/
)
&&
navigator
.
maxTouchPoints
&&
navigator
.
maxTouchPoints
>
2
)
{
alert
(
"
ipad
"
)
}
}
\ No newline at end of file
vcm/templates/custom.js
View file @
e22af9e2
...
...
@@ -9,7 +9,7 @@ $("#tour-button").hide();
// removebuildings();
// document.getElementById("SLayerChange").checked = true;
checkIpad
();
};
...
...
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