1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

control sidebar adjustments

This commit is contained in:
Kyle Spearrin
2017-06-06 12:18:43 -04:00
parent 27d291b0e9
commit fadd070663
10 changed files with 41 additions and 18 deletions

View File

@@ -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');
}
};
});