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

This commit is contained in:
Ben Gotow 2016-01-29 16:59:51 -08:00
parent d61becc549
commit e6360cf18b

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: ->