diff --git a/src/components/ViewerComponent.vue b/src/components/ViewerComponent.vue index 4959994156e..6ddb359ae4f 100644 --- a/src/components/ViewerComponent.vue +++ b/src/components/ViewerComponent.vue @@ -68,12 +68,6 @@ export default { default: false, }, }, - beforeMount() { - // FIXME Dirty fix to avoid recreating the component on stable16 - if (typeof this.$parent.$parent !== 'undefined' && this.$parent.$parent.onResize) { - window.removeEventListener('resize', this.$parent.$parent.onResize) - } - }, }