mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-12 00:48:00 +00:00
(js) Show mail compose btn if msgs list is visible
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
}, 24 * 3600 * 1000);
|
||||
}, window.currentDay.secondsBeforeTomorrow * 1000);
|
||||
|
||||
// Track the 600px window width threashold
|
||||
$scope.$watch(function() {
|
||||
return $mdMedia(sgConstant['gt-xs']);
|
||||
}, function(newVal) {
|
||||
$scope.isGtExtraSmall = newVal;
|
||||
});
|
||||
|
||||
// Track the 1024px window width threashold
|
||||
$scope.$watch(function() {
|
||||
return $mdMedia(sgConstant['gt-md']);
|
||||
|
||||
Reference in New Issue
Block a user