Skip to content

Commit

Permalink
Metaboxes: Fix resizing iFrame in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 24, 2017
1 parent 222d55f commit e2be9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/meta-box-resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
} );

window.addEventListener( 'load', sendResize, true );
window.addEventListener( 'resize', sendResize, true );

sendResize();
} )();

0 comments on commit e2be9b1

Please sign in to comment.