Remember, kids... Always leave a note.
parent
f6b399d3a7
commit
badc0a7374
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue