attempt fix self tab

master
poni 4 years ago
parent 66a9b6728b
commit b5f1a3f729

@ -11,7 +11,7 @@ function openWindow(c) {
((navigator.platform.indexOf("iPhone") != -1) || ((navigator.platform.indexOf("iPhone") != -1) ||
(navigator.platform.indexOf("iPad") != -1) || (navigator.platform.indexOf("iPad") != -1) ||
(navigator.platform.indexOf("iPod") != -1)) (navigator.platform.indexOf("iPod") != -1))
window.open(`maps://http://www.google.com/maps/place/${c}`); else /* else use Google */ window.open(`maps://http://www.google.com/maps/place/${c}`, "_self"); else /* else use Google */
window.open(`http://www.google.com/maps/place/${c}`, "_self"); window.open(`http://www.google.com/maps/place/${c}`, "_self");
} }

Loading…
Cancel
Save