Update home_en.html
This commit is contained in:
+1
-1
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user