Skip to content

Commit 7977c10

Browse files
hpostmarijnh
authored andcommitted
Fix typo in chapter 15
1 parent 0abe775 commit 7977c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ When a page is closed or navigated away from (for example, by
728728
following a link), a `"beforeunload"` event fires. The main use of
729729
this event is to prevent the user from accidentally losing work by
730730
closing a document. If you prevent the default behavior on this event
731-
_and_ set the `returnValue` property on the event event object to a
731+
_and_ set the `returnValue` property on the event object to a
732732
string, the browser will show the user a dialog asking if they really
733733
want to leave the page. That dialog might include your string, but
734734
because some malicious sites try to use these dialogs to confuse

0 commit comments

Comments
 (0)