Browse Source

Fixed toggling multiple control sidebar (#4070)

Rikson 3 years ago
parent
commit
adc28b9dae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/js/ControlSidebar.js

+ 1 - 1
build/js/ControlSidebar.js

@@ -72,7 +72,7 @@ class ControlSidebar {
     if (this._config.controlsidebarSlide) {
       $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
       $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
-        $(target).hide()
+        $(SELECTOR_CONTROL_SIDEBAR).hide()
         $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
         $(this).dequeue()
       })