summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-12-21 01:13:06 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-12-21 01:13:06 +0200
commit1c7dc276db2e5b534620d2be5ea240b2861becae (patch)
tree285265522bd98db385a90aa53b8dea025ec37f9d /main.js
parent707ece8e5b4eeeb7967f7802dec53f2ba75a3757 (diff)
lastCommit fix
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.js b/main.js
new file mode 100644
index 0000000..c3d8b56
--- /dev/null
+++ b/main.js
@@ -0,0 +1,6 @@
+o
+let btn = document.querySelector(".neon-button");
+
+if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent))
+ btn.setAttribute("href", "../..");
+else