Browse Source

show all:clear content before populating div added

master
Cristina Cochior 4 years ago
parent
commit
fa447b7a7f
  1. 1
      templates/layout.html

1
templates/layout.html

@ -139,6 +139,7 @@ var flag = true;
$("#showall").click(function(event){
if (flag === true) {
$(".name-elements").empty();
$('.file-names-container span').each(function () {
var current = $(this).attr('id');
$.getJSON('{{ url_for('static', filename='js/mergedjson.json') }}', function(test) {

Loading…
Cancel
Save