mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +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)
|
document.body.appendChild(style)
|
||||||
|
|
||||||
deactivate: ->
|
deactivate: ->
|
||||||
if style.parentElement
|
if style and style.parentElement
|
||||||
document.body.removeChild(style)
|
document.body.removeChild(style)
|
||||||
|
|
||||||
serialize: ->
|
serialize: ->
|
||||||
|
|
Loading…
Reference in a new issue