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 8, 2022
1 parent 996c403 commit 005add4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,13 @@ function Iframe(
contentDocument.dir = ownerDocument.dir;
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 005add4

Please sign in to comment.