Commit 6acee97d authored by christianrhansen's avatar christianrhansen

fixed bug: destroy observer only when existing

parent 23641f03
......@@ -26,7 +26,7 @@
}
},
destroyed () {
this.observer.disconnect()
if (this.element) this.observer.disconnect()
},
name: 'CellHandlerMobile'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment