|
|
@ -628,11 +628,11 @@ angular.module('myApp.directives', ['myApp.filters']) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (attrs.modal) { |
|
|
|
if (attrs.modal) { |
|
|
|
$(element).css({ |
|
|
|
var height = $($window).height() - |
|
|
|
height: $($window).height() - |
|
|
|
|
|
|
|
(panelWrap ? panelWrap.offsetHeight : 58) - |
|
|
|
(panelWrap ? panelWrap.offsetHeight : 58) - |
|
|
|
(Config.Mobile ? 46 : 200) |
|
|
|
(Config.Mobile ? 46 : 200); |
|
|
|
}); |
|
|
|
height = Math.min(350, height); |
|
|
|
|
|
|
|
$(element).css({height: height}); |
|
|
|
updateScroller(); |
|
|
|
updateScroller(); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|