2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-30 15:24:06 +03:00

style: code formating

This commit is contained in:
Alexander Shabunevich
2024-03-30 15:07:31 +03:00
parent cd1e9f3564
commit 816c49c466
+2 -3
View File
@@ -115,11 +115,10 @@ export class MaskInput {
const input = e.target as HTMLInputElement
if (e.inputType.startsWith('delete') || (s != null && s < value.length)) {
// see https://github.com/beholdr/maska/issues/118
try {
input.setSelectionRange(s, s)
} catch {
// see https://github.com/beholdr/maska/issues/118
}
} catch {}
}
}