fix: replace window.confirm with inline confirmation for unlink

window.confirm() is silently suppressed in Telegram Mini Apps and iOS
WebView, making unlink completely non-functional on mobile. Replaced
with two-click inline confirmation: first click shows destructive
"Confirm disconnect?" button, second click executes unlink. Button
resets on blur.
This commit is contained in:
Fringg
2026-03-04 15:30:00 +03:00
parent e447e993cb
commit d0c01a0e5c
5 changed files with 18 additions and 3 deletions

View File

@@ -4167,6 +4167,7 @@
"link": "Привязать",
"unlink": "Отвязать",
"unlinkConfirm": "Вы уверены? После отвязки вы не сможете входить через этот сервис.",
"unlinkConfirmBtn": "Точно отвязать?",
"cannotUnlinkLast": "Нельзя отвязать последний способ входа",
"linkSuccess": "Аккаунт успешно привязан",
"unlinkSuccess": "Аккаунт успешно отвязан",