Fixing labelledby, adding newline

This commit is contained in:
rootcoma 2013-12-01 13:59:03 -08:00
parent 8b9eb3f973
commit 2e6f10f91a
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
var createModalDiv = function() {
if($('#infoModal').length == 0) {
$('body').append('<!-- Modal -->'
+ '<div id="infoModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">'
+ '<div id="infoModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="infoModalLabel" aria-hidden="true">'
+ ' <div class="modal-header">'
+ ' <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>'
+ ' <h3 id="infoModalLabel">Table Information</h3>'
@ -27,4 +27,4 @@ $(function() {
$('#infoModal > .modal-body').html(content);
$('#infoModal').modal('show');
});
});
});