Commit ea81361
authored
fix(moderator) remove deprecated IE11 attachEvent fallback
Since IE11 reached end-of-life in June 2022, the window.attachEvent
fallback in the message event listener registration is no longer needed.
All modern browsers support addEventListener.
This simplifies the code by removing the conditional check and using
addEventListener directly.
Fixes #29701 parent 80df84a commit ea81361
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 110 | + | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| |||
0 commit comments