Commit e22af9e2 authored by Patrick's avatar Patrick
Browse files

Test Ipad functionality

parent 42bd077f
......@@ -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
......@@ -9,7 +9,7 @@ $("#tour-button").hide();
// removebuildings();
// 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