fix a bug

This commit is contained in:
Philipp Kühn 2021-02-19 17:29:56 +01:00
parent 46501ee226
commit 32af53d0f4

View File

@ -39,13 +39,13 @@ export default function (Vue) {
el.setAttribute('scrolling', 'no') el.setAttribute('scrolling', 'no')
} }
el.iFrameResizer.resize() el?.iFrameResizer?.resize?.()
}, },
}, el) }, el)
}) })
}, },
unbind(el) { unbind(el) {
el.iFrameResizer.removeListeners() el?.iFrameResizer?.removeListeners?.()
}, },
}) })