(js) Fix automatic close of sidenav

pull/218/merge
Francis Lachapelle 2017-10-10 16:03:55 -04:00
parent 6a661264f6
commit e5f9f3383a
1 changed files with 1 additions and 1 deletions

View File

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