mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
15 lines
410 B
JavaScript
15 lines
410 B
JavaScript
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');
|
|
}
|
|
};
|
|
});
|