Skip to content

Commit

Permalink
[webapp] попытка отключить вертикальные свайпы для сворачивания вебаппа
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterGroosha committed Jul 17, 2024
1 parent 6535abc commit fc3a7c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions book_src/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<script src="https://telegram.org/js/telegram-web-app.js?35"></script>
<script type="text/javascript">
const webapp = window.Telegram.WebApp;
webapp.disableVerticalSwipes()
webapp.ready();
webapp.expand();
const initData = webapp.initDataUnsafe;
Expand Down

0 comments on commit fc3a7c5

Please sign in to comment.