diff --git a/app/index/view/pc/public/base.html b/app/index/view/pc/public/base.html index 1400c8ab..0571ebfe 100644 --- a/app/index/view/pc/public/base.html +++ b/app/index/view/pc/public/base.html @@ -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'; + } + })