Skip to content

Commit

Permalink
Merge pull request #338 from AdvancedPhotonSource/pre-release
Browse files Browse the repository at this point in the history
Pre release
  • Loading branch information
iTerminate authored Nov 28, 2023
2 parents 1619600 + 912a2c8 commit 818ea8c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "traveler-aps",
"version": "1.6.4",
"version": "1.6.5",
"private": true,
"scripts": {
"start": "node app"
},
"repository": {
"type": "git",
"url": "https://github.com/AdvancedPhotonSource/traveler.git",
"release": "APS-1.6.4"
"release": "APS-1.6.5"
},
"dependencies": {
"basic-auth": "1.0.0",
Expand Down
35 changes: 18 additions & 17 deletions public/javascripts/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,29 @@ function createSideNav() {
}

var parent = document.getElementById(nav_parent_id);
if (parent != null) {
parent.addEventListener('click', function() {
var header = document.getElementById(nav_parent_id);
var expansion = header.getElementsByTagName('span')[0];

parent.addEventListener('click', function() {
var header = document.getElementById(nav_parent_id);
var expansion = header.getElementsByTagName('span')[0];
var children = document.getElementsByClassName(nav_list_child_class);

var children = document.getElementsByClassName(nav_list_child_class);
for (i = 0; i < children.length; i++) {
var child = children[i];

for (i = 0; i < children.length; i++) {
var child = children[i];

if (child.style.maxHeight) {
child.style.maxHeight = null;
expansion.innerHTML = '+';
} else {
child.style.maxHeight = child.scrollHeight + 'px';
expansion.innerHTML = '-';
if (child.style.maxHeight) {
child.style.maxHeight = null;
expansion.innerHTML = '+';
} else {
child.style.maxHeight = child.scrollHeight + 'px';
expansion.innerHTML = '-';
}
}
}
});
});

// Expand by default.
parent.click();
// Expand by default.
parent.click();
}
}

function history(found) {
Expand Down
3 changes: 3 additions & 0 deletions public/release.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
APS 1.6.5
- Resolve issue where traveler will not functional unless it has sections defined.

APS 1.6.4
- Add API to download files from eTraveler system.

Expand Down

0 comments on commit 818ea8c

Please sign in to comment.