Fix issue decorator element.parentNode NPE in Safari desktop app
Fix issue decorator element.parentNode
NPE(null pointer exception) in Safari desktop app. I'm not sure how the element doesn't have a parent node. I don't see where we could possibly isolating the node.
Sorta related issues,
- https://github.com/getsentry/raven-js/issues/756
- How to reproduce this type of error, https://stackoverflow.com/a/48616245/796832
Closes https://gitlab.com/gitlab-org/gitter/webapp/issues/1890
Edited by 🤖 GitLab Bot 🤖