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

@@ -3042,6 +3042,7 @@
"link": "关联",
"unlink": "取消关联",
"unlinkConfirm": "确定吗?取消关联后,您将无法通过此服务登录。",
"unlinkConfirmBtn": "确认取消关联?",
"cannotUnlinkLast": "无法取消最后一种登录方式",
"linkSuccess": "账户关联成功",
"unlinkSuccess": "账户取消关联成功",