show all:clear content before populating div added
This commit is contained in:
parent
5f21bdec74
commit
fa447b7a7f
@ -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…
Reference in New Issue
Block a user