diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |