diff --git a/plugins/Sidebar/media/Sidebar.coffee b/plugins/Sidebar/media/Sidebar.coffee index af2ce3dc..b77332ac 100644 --- a/plugins/Sidebar/media/Sidebar.coffee +++ b/plugins/Sidebar/media/Sidebar.coffee @@ -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