Update home_en.html

This commit is contained in:
FURK4NGG
2025-04-05 14:58:19 +03:00
committed by GitHub
parent 6fb45f408f
commit 074bbeef57
+1 -1
View File
@@ -382,7 +382,7 @@
<script> <script>
const darkmode = new Darkmode(options); const darkmode = new Darkmode(options);
darkmode.showWidget(); darkmode.showWidget();
function isMobileDevice() {return /Mobi|Android/i.test(navigator.userAgent);} function isMobileDevice() {return (/Mobi|Android/i.test(navigator.userAgent) || window.innerWidth <= 768);}
window.onload = function() { window.onload = function() {
if (isMobileDevice()) { if (isMobileDevice()) {
var circles = document.getElementsByClassName('circle'); var circles = document.getElementsByClassName('circle');