mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 13:44:53 +08:00
feat(screenshot-mode): Minor fix to unmount method
This commit is contained in:
parent
d61becc549
commit
e6360cf18b
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…
Add table
Reference in a new issue