Avoid double removing tag on sidebar close

This commit is contained in:
shortcutme 2018-10-05 15:08:12 +02:00
parent 52f7dc71e6
commit 424b36ffca
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -322,8 +322,9 @@ class Sidebar extends Class
if not @opened
@container.remove()
@container = null
@tag.remove()
@tag = null
if @tag
@tag.remove()
@tag = null
# Revert body transformations
@log "stopdrag", "opened:", @opened