mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 11:52:34 +08:00
feat(screenshot-mode): Minor fix to unmount method
This commit is contained in:
parent
89a30a058f
commit
00c1645300
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module.exports =
|
|||
document.body.appendChild(style)
|
||||
|
||||
deactivate: ->
|
||||
if style.parentElement
|
||||
if style and style.parentElement
|
||||
document.body.removeChild(style)
|
||||
|
||||
serialize: ->
|
||||
|
|
Loading…
Reference in a new issue