From: Darren Date: Mon, 21 Apr 2014 13:43:31 +0000 (+0100) Subject: using the .disabled CSS class when toggling right_bar X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=23db55acff43ec030fd94443d3e6e7e03dc52ccf;p=KiwiIRC.git using the .disabled CSS class when toggling right_bar --- diff --git a/client/src/views/apptoolbar.js b/client/src/views/apptoolbar.js index bd75cc6..e69b069 100644 --- a/client/src/views/apptoolbar.js +++ b/client/src/views/apptoolbar.js @@ -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(); } });