Commit 6acee97d authored by christianrhansen's avatar christianrhansen
Browse files

fixed bug: destroy observer only when existing

parent 23641f03
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
} }
}, },
destroyed () { destroyed () {
this.observer.disconnect() if (this.element) this.observer.disconnect()
}, },
name: 'CellHandlerMobile' 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