[openstreetmap/openstreetmap-website] Support android intent uri for JOSM style remote control (#1478)
Tom Hughes
notifications at github.com
Tue Mar 31 23:02:53 UTC 2020
@tomhughes commented on this pull request.
> + },
+ Android: function() {
+ return /Android/i.test(navigator.userAgent);
+ },
+ BlackBerry: function() {
+ return /BlackBerry/i.test(navigator.userAgent);
+ },
+ iOS: function() {
+ return /iPhone|iPad|iPod/i.test(navigator.userAgent);
+ },
+ any: function() {
+ return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows());
+ }
+ };
+
+ function url() {
No using leaflet internals for non-leaflet things is a terrible idea.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1478#discussion_r401264662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200331/58c3b9ae/attachment-0001.htm>
More information about the rails-dev
mailing list