Browse Source

fixed colophon bug

master
Cristina Cochior 4 years ago
parent
commit
3ce498e8b3
  1. 6
      static/css/main.css
  2. 2
      templates/layout.html

6
static/css/main.css

@ -262,10 +262,10 @@ div#listofpeople{
#colophon { #colophon {
position: absolute; position: absolute;
width: 13%; width: 10%;
z-index: 3; z-index: 3;
top: 87%; top: 163%;
left: 42%; left: 35%;
} }
#colophondiv { #colophondiv {

2
templates/layout.html

@ -144,6 +144,8 @@ function getCookie(name) {
var thefile = $(this).text(); var thefile = $(this).text();
$.getJSON('{{ url_for('static', filename='js/mergedjson.json') }}', function(test) { $.getJSON('{{ url_for('static', filename='js/mergedjson.json') }}', function(test) {
$(".name-elements").empty(); $(".name-elements").empty();
$("#colophondiv").css("display","none");
colophonstatus = true;
// iterate in test[i].librarian to find where the name is present // iterate in test[i].librarian to find where the name is present
//to get the test[i].debris that goes with it //to get the test[i].debris that goes with it

Loading…
Cancel
Save