mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
control sidebar adjustments
This commit is contained in:
@@ -2,5 +2,13 @@ angular
|
||||
.module('bit.global')
|
||||
|
||||
.controller('topNavController', function ($scope) {
|
||||
|
||||
$scope.toggleControlSidebar = function () {
|
||||
var bod = $('body');
|
||||
if (!bod.hasClass('control-sidebar-open')) {
|
||||
bod.addClass('control-sidebar-open');
|
||||
}
|
||||
else {
|
||||
bod.removeClass('control-sidebar-open');
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user