Skip to content

Commit

Permalink
tidy up naming
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Sep 6, 2022
1 parent 9593f76 commit bf6ad6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,12 @@ function Iframe(
documentElement.removeChild( contentDocument.head );
documentElement.removeChild( contentDocument.body );

contentDocument.addEventListener(
iFrameDocument.addEventListener(
'dragover',
preventFileDropDefault,
false
);
contentDocument.addEventListener(
iFrameDocument.addEventListener(
'drop',
preventFileDropDefault,
false
Expand Down

0 comments on commit bf6ad6f

Please sign in to comment.