Avoid double removing tag on sidebar close
This commit is contained in:
parent
52f7dc71e6
commit
424b36ffca
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue