Skip to content

Commit

Permalink
update Bok 23-04-19
Browse files Browse the repository at this point in the history
  • Loading branch information
aidamonfort committed Apr 23, 2019
1 parent 3e64ea8 commit cd02d8e
Show file tree
Hide file tree
Showing 3 changed files with 1,795 additions and 1,653 deletions.
2 changes: 1 addition & 1 deletion src/app/ui/footer/footer.component.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<small>BoK Last updated : 15/04/2019</small>
<small>BoK last update : 23/04/2019</small>
4 changes: 2 additions & 2 deletions src/assets/js/bok_visualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ showMoreLess = function () {
moreButton.innerHTML = "show more...";
}
;

}
;
};
Expand Down Expand Up @@ -221,9 +220,10 @@ displayConcept = function (d, namehash) {
//display description of concept.
var description = document.getElementById("description");
if (d.description != null) {
var timeFormat = "<small> Last Updated: " + new Date(d.timestamp).toUTCString() + " </small><br>";
var headline = "<h5>Description:</h5>";
var currentTxt = "<div id='currentDescription' class='hideContent'>" + d.description + "</div>";
description.innerHTML = headline + currentTxt;
description.innerHTML =timeFormat + headline + currentTxt;
var current = document.getElementById("currentDescription");

//insert 'more'-buttons:
Expand Down
Loading

0 comments on commit cd02d8e

Please sign in to comment.