Skip to content

Commit

Permalink
remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
errorrik committed Sep 29, 2023
1 parent a1bb69b commit fd83438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/element-own-attached.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function elementOwnAttached() {
switch (this.tagName) {
case 'input':
case 'textarea':
if (isBrowser && window.CompositionEvent) {
if (isBrowser) {
elementOnEl(this, 'change', inputOnCompositionEnd);
elementOnEl(this, 'compositionstart', inputOnCompositionStart);
elementOnEl(this, 'compositionend', inputOnCompositionEnd);
Expand Down

0 comments on commit fd83438

Please sign in to comment.