From 1c7dc276db2e5b534620d2be5ea240b2861becae Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Wed, 21 Dec 2022 01:13:06 +0200 Subject: lastCommit fix --- rannak/kaart/js/kaart.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rannak') 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"; } -- cgit v1.2.3