feat(screenshot-mode): Minor fix to unmount method

This commit is contained in:
Ben Gotow 2016-01-29 16:59:51 -08:00
parent 89a30a058f
commit 00c1645300

View file

@ -15,7 +15,7 @@ module.exports =
document.body.appendChild(style)
deactivate: ->
if style.parentElement
if style and style.parentElement
document.body.removeChild(style)
serialize: ->