blocked sending SMS

This commit is contained in:
2026-06-26 18:29:24 +03:30
parent d7ca6706fb
commit 61c948b6c6
5 changed files with 33 additions and 17 deletions
+6
View File
@@ -0,0 +1,6 @@
/** جلوگیری از باز شدن مستقیم دوربین روی موبایل — انتخاب از گالری */
export function fixFileCapture(root: ParentNode | Document = document): void {
root.querySelectorAll<HTMLInputElement>('.fix-capture input[type="file"]').forEach((input) => {
input.removeAttribute('capture')
})
}