Skip to content
Snippets Groups Projects
Commit 07aa380e authored by Alberto Siles's avatar Alberto Siles
Browse files

Issue #001 by @hatuhay: Modal when hidden even invisible overlaps on content.

parent f70681cc
No related branches found
No related tags found
No related merge requests found
...@@ -9,5 +9,6 @@ jQuery(document).ready(function() { ...@@ -9,5 +9,6 @@ jQuery(document).ready(function() {
jQuery('.barrio-modal h2').wrap('<div class="modal-header" />'); jQuery('.barrio-modal h2').wrap('<div class="modal-header" />');
jQuery('.barrio-modal .modal-header').prepend('<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>'); jQuery('.barrio-modal .modal-header').prepend('<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>');
jQuery('.barrio-modal').append('<div class="modal-footer"><button class="btn" data-dismiss="modal" aria-hidden="true">' + Drupal.t('Close') + '</button></div>'); jQuery('.barrio-modal').append('<div class="modal-footer"><button class="btn" data-dismiss="modal" aria-hidden="true">' + Drupal.t('Close') + '</button></div>');
jQuery('.barrio-modal').appendTo('body');
// End of modal block definition // End of modal block definition
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment