This commit is contained in:
2025-06-26 13:44:40 +08:00
parent 0ea2fbeb1f
commit ed8ae64cac

View File

@@ -61,17 +61,17 @@
}
}
$(window).ready(function () {
const deviceType = detectDeviceByResolution();
if (deviceType=='tablet') {
window.location.href = '?mtpl=1';
}
})
// $(window).ready(function () {
// if ($(window).width() < 1024) {
// const deviceType = detectDeviceByResolution();
// if (deviceType=='tablet') {
// window.location.href = '?mtpl=1';
// }
// })
$(window).ready(function () {
if ($(window).width() < 1024) {
window.location.href = '?mtpl=1';
}
})
</script>
</head>