index.js 277 B

12345678910111213
  1. /**
  2. *
  3. *
  4. * Modal position fix.
  5. * add custom class if modal height is bigger than window.
  6. */
  7. mgEventHandler.on('ModalLoaded', null,function(){
  8. $('.modal-alert-top').each(function(index){
  9. var self = $(this);
  10. self.addClass('lu-alert--danger');
  11. });
  12. });