Compare commits
2 Commits
4b3f626443
...
f0ea57c19f
| Author | SHA1 | Date | |
|---|---|---|---|
| f0ea57c19f | |||
| ed8ae64cac |
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user