Skip to content

Commit bb30d16

Browse files
committed
Editorial: break from the inner invoke loop rather than returning
This is slightly cleaner and less confusing (to me anyway).
1 parent c2d5aa3 commit bb30d16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,8 +1655,8 @@ and an optional <var>legacyOutputDidListenersThrowFlag</var>, run these steps:
16551655
<li><p>If <var>global</var> is a {{Window}} object, then set <var>global</var>'s
16561656
<a for=Window>current event</a> to <var>currentEvent</var>.
16571657

1658-
<li><p>If <var>event</var>'s <a>stop immediate propagation flag</a> is set, then return
1659-
<var>found</var>.
1658+
<li><p>If <var>event</var>'s <a>stop immediate propagation flag</a> is set, then
1659+
<a for=iteration>break</a>.
16601660
</ol>
16611661

16621662
<li><p>Return <var>found</var>.

0 commit comments

Comments
 (0)