Commit e22af9e2 authored by Patrick's avatar Patrick
Browse files

Test Ipad functionality

parent 42bd077f
...@@ -26,3 +26,9 @@ checkagent = function(){ ...@@ -26,3 +26,9 @@ checkagent = function(){
return safariAgent return safariAgent
} }
checkIpad = function(){
if (navigator.userAgent.match(/Mac/) && navigator.maxTouchPoints && navigator.maxTouchPoints > 2) {
alert("ipad")
}
}
\ No newline at end of file
...@@ -9,7 +9,7 @@ $("#tour-button").hide(); ...@@ -9,7 +9,7 @@ $("#tour-button").hide();
// removebuildings(); // removebuildings();
// document.getElementById("SLayerChange").checked = true; // document.getElementById("SLayerChange").checked = true;
checkIpad();
}; };
......
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