Avoid opening keyboard during view transition
This commit is contained in:
parent
b90d20341e
commit
6208cc578e
2 changed files with 1 additions and 2 deletions
|
|
@ -125,7 +125,6 @@
|
|||
function openAddView() {
|
||||
if (state.currentView !== "addView") state.previousView = state.currentView;
|
||||
showView("addView");
|
||||
window.setTimeout(() => $("#amount").focus(), 0);
|
||||
}
|
||||
|
||||
function closeAddView() {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<title>Пожитки</title>
|
||||
<link rel="stylesheet" href="./styles.css?v=13" />
|
||||
<script src="./telegram-web-app.js"></script>
|
||||
<script src="./app.js?v=13" defer></script>
|
||||
<script src="./app.js?v=14" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue