using the .disabled CSS class when toggling right_bar
authorDarren <darren@darrenwhitlen.com>
Mon, 21 Apr 2014 13:43:31 +0000 (14:43 +0100)
committerDarren <darren@darrenwhitlen.com>
Mon, 21 Apr 2014 13:43:31 +0000 (14:43 +0100)
client/src/views/apptoolbar.js

index bd75cc66a642f347a4ffffb3e5599ea619931354..e69b069fcb4cf22126fd51738cc93db8e52fa442 100644 (file)
@@ -24,8 +24,8 @@ _kiwi.view.AppToolbar = Backbone.View.extend({
 
     clickHideRightBar: function (event) {
         event.preventDefault();
-        $(".right_bar").toggle();
-        $(".memberlists_resize_handle").toggle();
+
+        _kiwi.app.view.$('.right_bar').toggleClass('disabled');
         _kiwi.app.view.doLayout();
     }
 });