diff --git a/data/web/telegram.org/js/telegram-web-app.js b/data/web/telegram.org/js/telegram-web-app.js index 9dc635ed0f..846eef3aae 100644 --- a/data/web/telegram.org/js/telegram-web-app.js +++ b/data/web/telegram.org/js/telegram-web-app.js @@ -1247,6 +1247,9 @@ WebView.postEvent('web_app_expand'); }; WebApp.close = function () { + if (WebApp.isClosingConfirmationEnabled) { + WebApp.isClosingConfirmationEnabled = false; + } WebView.postEvent('web_app_close'); }; diff --git a/data/web/webappcontent.telegram.org/cafe.html b/data/web/webappcontent.telegram.org/cafe.html index c2bec32e9e..20d55db68b 100644 --- a/data/web/webappcontent.telegram.org/cafe.html +++ b/data/web/webappcontent.telegram.org/cafe.html @@ -9,7 +9,7 @@ - + +