(js) Fix breakpoints consistency

This commit is contained in:
Francis Lachapelle committed 2016-05-18 14:35:24 -04:00
1 parent 33ca545f8b
commit 045013bc74
13 files changed
+38 -31

No files matched your search

@@ -15,7 +15,7 @@
$scope.isPopup = sgSettings.isPopup;
$scope.activeUser = sgSettings.activeUser();
$scope.baseURL = sgSettings.baseURL();
$scope.leftIsClose = $mdMedia(sgConstant.xs);
$scope.leftIsClose = !$mdMedia(sgConstant['gt-md']);
// Show current day in top bar
$scope.currentDay = window.currentDay;
@@ -58,7 +58,7 @@
// detail.toggleClass('sg-close');
// };
$scope.$watch(function() {
return $mdMedia(sgConstant['gt-sm']);
return $mdMedia(sgConstant['gt-md']);
}, function(newVal) {
$scope.isGtMedium = newVal;
if (newVal) {