diff --git a/src/document/fireInputEvent.ts b/src/document/fireInputEvent.ts index 7310e799..6d336308 100644 --- a/src/document/fireInputEvent.ts +++ b/src/document/fireInputEvent.ts @@ -27,7 +27,7 @@ export function fireInputEvent( // apply the changes before firing the input event, so that input handlers can access the altered dom and selection if (isContentEditable(element)) { applyNative(element, 'textContent', newValue) - } /* istanbul ignore else */ else if ( + } else /* istanbul ignore else */ if ( isElementType(element, ['input', 'textarea']) ) { setUIValue(element, newValue)