diff --git a/static/js/lg.js b/static/js/lg.js index ba11f05..ed2b023 100644 --- a/static/js/lg.js +++ b/static/js/lg.js @@ -51,8 +51,8 @@ $(function(){ event.preventDefault(); link = $(this).attr('href'); $.getJSON(link, function(data) { - $(".modal h3").html(data.title); - $(".modal .modal-body > p").html(data.output); + $(".modal .modal-dialog .modal-content .modal-header .modal-title").html(data.title); + $(".modal .modal-dialog .modal-content .modal-body > p").html(data.output); $(".modal").modal('show'); }); }); diff --git a/templates/layout.html b/templates/layout.html index 2ae820a..09ed813 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -93,18 +93,24 @@
- + + +