blocked sending SMS
This commit is contained in:
@@ -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')
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user