Skip to content

Commit

Permalink
Fix typo in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen authored and getdave committed Aug 13, 2019
1 parent 77e53cb commit dd46aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/wpcom-block-editor/src/calypso/iframe-bridge-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ function handleCloseEditor( calypsoPort ) {
);

// We only want to navigate back if the client tells us to.
// We need to give it a chance to set ift is dirty
// before we can navigate away from the page.
// We need to give it a chance to set if the post is dirty
// before we can navigate away.
port1.onmessage = ( { data } ) => {
port1.close(); // We only want to recieve this once.
// data is the URL to which we go back:
Expand Down

0 comments on commit dd46aca

Please sign in to comment.