Remember, kids... Always leave a note.

pull/10616/head
Hunter Trujillo 2017-07-27 17:43:45 -06:00
parent f6b399d3a7
commit badc0a7374
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ export default function resizeLayout() {
action.type === 'ENABLE_PRESENTATION_MODE' ||
action.type === 'DISABLE_PRESENTATION_MODE'
) {
// Uses longer event object creation method due to IE compatibility.
const evt = document.createEvent('HTMLEvents')
evt.initEvent('resize', false, true)
window.dispatchEvent(evt)