diff --git a/web/static/app.js b/web/static/app.js index 65320ad..9d3945a 100644 --- a/web/static/app.js +++ b/web/static/app.js @@ -588,7 +588,7 @@ async function showTelegramLogin() { } function isMobileBrowser() { - return /Android|iPhone|iPad|iPod|Mobile/i.test(navigator.userAgent); + return /Android|iPhone|iPad|iPod|Mobile/i.test(navigator.userAgent) || window.matchMedia("(max-width: 640px)").matches; } function telegramBotUrl(botUsername) {