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:
+2
-3
@@ -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 {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user