Skip to content

Commit

Permalink
Fix bug in banner code due to copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna committed Dec 13, 2024
1 parent f7768e5 commit f8d9114
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions content/nmdc/src/_static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@

// Register a callback function to run when the web page has fully loaded.
window.addEventListener("load", (event) => {
displayBanner('<strong>This website is in early development.</strong> You can access our production documentation <a href="https://microbiomedata.org/documentation/" style="color: black;">here</a>.');
displayBanner(`
<strong>This website is in early development.</strong>
You can access our production documentation
<a href="https://microbiomedata.org/documentation/" style="color: black; text-decoration: underline;">here</a>.
`);
});

displayBanner(`
<strong>This website is in early development.</strong>
You can access our production documentation
<a href="https://microbiomedata.org/documentation/" style="color: black; text-decoration: underline;">here</a>.
`);
})();
12 changes: 5 additions & 7 deletions src/ingesters/workflow_docs/_static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@

// Register a callback function to run when the web page has fully loaded.
window.addEventListener("load", (event) => {
displayBanner('<strong>This website is in early development.</strong> You can access our production documentation <a href="https://microbiomedata.org/documentation/" style="color: black;">here</a>.');
displayBanner(`
<strong>This website is in early development.</strong>
You can access our production documentation
<a href="https://microbiomedata.org/documentation/" style="color: black; text-decoration: underline;">here</a>.
`);
});

displayBanner(`
<strong>This website is in early development.</strong>
You can access our production documentation
<a href="https://microbiomedata.org/documentation/" style="color: black; text-decoration: underline;">here</a>.
`);
})();

0 comments on commit f8d9114

Please sign in to comment.