Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
392781 committed Jun 3, 2024
1 parent 01e02c6 commit 370c23d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/container-workshop/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -573,14 +573,16 @@ <h2 is-upgraded>Combining GitHub and Zenodo</h2>
// This is to override the close / done handling on the page
// https://github.com/googlecodelabs/tools/issues/103
document.addEventListener('DOMContentLoaded', function() {
document.getElementById("arrow-back").href="https://ucsbcarpentry.github.io/workshop/2024/06/04/ucsb-containers.html";
document.getElementById("arrow-back").addEventListener( 'click', function() {
window.history.back();
});
document.getElementById("arrow-back").href = "https://ucsbcarpentry.github.io/workshop/2024/06/04/ucsb-containers.html";
document.getElementById("arrow-back").addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default link behavior
window.location.href = "https://ucsbcarpentry.github.io/workshop/2024/06/04/ucsb-containers.html";
});
document.getElementById("done").href="https://ucsbcarpentry.github.io/workshop/2024/06/04/ucsb-containers.html";
document.getElementById("done").addEventListener( 'click', function() {
window.history.back();
});
document.getElementById("done").addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default link behavior
window.location.href = "https://ucsbcarpentry.github.io/workshop/2024/06/04/ucsb-containers.html";
});
}, false);
</script>
</body>
Expand Down

0 comments on commit 370c23d

Please sign in to comment.