| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b827c00 commit 8d48adf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -806,13 +806,8 @@ class EventTarget { | |||
| 806 | 806 | let handler = root.next; | |
| 807 | 807 | let next; | |
| 808 | 808 | ||
| 809 | - const iterationCondition = () => { | ||
| 810 | - if (handler === undefined) { | ||
| 811 | - return false; | ||
| 812 | - } | ||
| 813 | - return root.resistStopPropagation || handler.passive || event?.[kStop] !== true; | ||
| 814 | - }; | ||
| 815 | - while (iterationCondition()) { | ||
| 809 | + while (handler !== undefined && | ||
| 810 | + (root.resistStopPropagation || handler.passive || event?.[kStop] !== true)) { | ||
| 816 | 811 | // Cache the next item in case this iteration removes the current one | |
| 817 | 812 | next = handler.next; | |
| 818 | 813 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments