mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-20 02:28:11 +00:00
Adapt to latest md changes
This commit is contained in:
1 parent
bd81a56e58
commit
19d22cdcfb
39 files changed
+198
-123
No files matched your search
@@ -29,11 +29,17 @@
|
||||
}, window.currentDay.secondsBeforeTomorrow * 1000);
|
||||
|
||||
$scope.toggleLeft = function() {
|
||||
$scope.leftIsClose = leftIsClose();
|
||||
$mdSidenav('left').toggle()
|
||||
.then(function () {
|
||||
$log.debug("toggle left is done");
|
||||
});
|
||||
if ($scope.isGtMedium) {
|
||||
// Left sidenav is toggled while sidenav is locked open; bypass $mdSidenav
|
||||
$scope.leftIsClose = !$scope.leftIsClose;
|
||||
}
|
||||
else {
|
||||
$scope.leftIsClose = leftIsClose();
|
||||
$mdSidenav('left').toggle()
|
||||
.then(function () {
|
||||
$log.debug("toggle left is done");
|
||||
});
|
||||
}
|
||||
};
|
||||
$scope.toggleRight = function() {
|
||||
$mdSidenav('right').toggle()
|
||||
|
||||
Reference in new issue
Block a user