diff --git a/FO/Views/Course/ApplyPay.cshtml b/FO/Views/Course/ApplyPay.cshtml index baada28..39936ab 100644 --- a/FO/Views/Course/ApplyPay.cshtml +++ b/FO/Views/Course/ApplyPay.cshtml @@ -238,4 +238,13 @@ msgadmin(); } } + + function checkMobile() { + var varUA = navigator.userAgent.toLowerCase(); + if (varUA.indexOf('android') > -1) { + return "A"; + } else if (varUA.indexOf("iphone") > -1 || varUA.indexOf("ipad") > -1 || varUA.indexOf("ipod") > -1) { + return "N"; + } + }