Update to ensure Google Maps and Gaia GPS links open apps on mobile devices
This commit is contained in:
parent
a0d4a8ce53
commit
c87028905f
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
function openGaiaGPS() {
|
function openGaiaGPS() {
|
||||||
trackButtonClick('Gaia GPS');
|
trackButtonClick('Gaia GPS');
|
||||||
const url = isMobile() ? 'gaiagps://map?center=39.034084596004874,-105.30166849999999&zoom=15' : 'https://rebrand.ly/csmsgaia';
|
const url = isMobile() ? 'gaiagps://public/VVXcZPvEfvAbvRWi5F0DQPNT' : 'https://rebrand.ly/csmsgaia';
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue