diff --git a/resources/views/malio/user/navbar.tpl b/resources/views/malio/user/navbar.tpl index 6c2a1a7a..0fabe5f7 100644 --- a/resources/views/malio/user/navbar.tpl +++ b/resources/views/malio/user/navbar.tpl @@ -86,7 +86,7 @@ {if $malio_config['enable_sidebar_button'] == true && $user->class >= $malio_config['telegram_group_class']}
diff --git a/resources/views/malio/user/scripts.tpl b/resources/views/malio/user/scripts.tpl index b09499c6..e4d2db59 100644 --- a/resources/views/malio/user/scripts.tpl +++ b/resources/views/malio/user/scripts.tpl @@ -1,4 +1,3 @@ - @@ -15,11 +14,29 @@ \ No newline at end of file + var isWeixin = function () { + var ua = navigator.userAgent.toLowerCase(); + return ua.match(/MicroMessenger/i) == "micromessenger"; + }; + if (isWeixin() == true) { + $('body').html('