diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-12-21 01:13:06 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-12-21 01:13:06 +0200 |
commit | 1c7dc276db2e5b534620d2be5ea240b2861becae (patch) | |
tree | 285265522bd98db385a90aa53b8dea025ec37f9d /rannak | |
parent | 707ece8e5b4eeeb7967f7802dec53f2ba75a3757 (diff) |
lastCommit fix
Diffstat (limited to 'rannak')
-rw-r--r-- | rannak/kaart/js/kaart.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/rannak/kaart/js/kaart.js b/rannak/kaart/js/kaart.js index 5183643..4bb0afe 100644 --- a/rannak/kaart/js/kaart.js +++ b/rannak/kaart/js/kaart.js @@ -26,10 +26,5 @@ for (let i = 0; i < riigid.length; i++){ function moveOnEnable(){ const btn = document.querySelector(".moveOn"); btn.disabled = false; - - if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { - btn.onclick = () => location.href = "../noMobiles"; - } - else - btn.onclick = () => location.href = "../rolliValik"; + btn.onclick = () => location.href = "../rolliValik"; } |