@@ -6,13 +6,8 @@
*/
mgEventHandler.on('ModalLoaded', null,function(){
- $('.lu-modal__dialog').each(function(index){
+ $('.modal-alert-top').each(function(index){
var self = $(this);
- var pixelDiff = $(window).height() - self.height();
-
- if(pixelDiff < 30)
- {
- self.addClass('lu-text-danger');
- }
+ self.addClass('lu-text-danger');
});