mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 06:15:26 +00:00
(js) Fix automatic close of sidenav
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
this.go = function(module, form) {
|
||||
if (form.$valid) {
|
||||
// Close sidenav on small devices
|
||||
if ($mdMedia('xs'))
|
||||
if (!$mdMedia('gt-sm'))
|
||||
$mdSidenav('left').close();
|
||||
$state.go('preferences.' + module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user