Skip to content

Commit d0e7355

Browse files
authored
Merge branch 'main' into fix-discord-links
2 parents f5006e1 + 1fd14e7 commit d0e7355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keyboard/shared/fireInputEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function fireInputEvent(
2525
// apply the changes before firing the input event, so that input handlers can access the altered dom and selection
2626
if (isContentEditable(element)) {
2727
applyNative(element, 'textContent', newValue)
28-
} /* istanbul ignore else */ else if (
28+
} else /* istanbul ignore else */ if (
2929
isElementType(element, ['input', 'textarea'])
3030
) {
3131
applyNative(element, 'value', newValue)

0 commit comments

Comments
 (0)