Skip to content
Snippets Groups Projects
Commit 4f9ab89b authored by Hongguo Tang's avatar Hongguo Tang
Browse files

Update notebook.html

parent fdb4b756
No related branches found
No related tags found
No related merge requests found
Pipeline #515935 passed
......@@ -60,7 +60,7 @@
<!-- 2 -->
<div class="button-container">
<button class="button" id="toggletwoButton">
Show 2
Show UV controlled gene switch
</button>
</div>
......@@ -100,10 +100,10 @@
toggletwoButton.addEventListener('click', () => {
if (pdftwoContainer.style.display === 'none' || pdftwoContainer.style.display === '') {
pdftwoContainer.style.display = 'block'; // Show the PDF
toggletwoButton.textContent = 'Hide 2 regulation'; // Change button text
toggletwoButton.textContent = 'Hide UV controlled gene switch regulation'; // Change button text
} else {
pdftwoContainer.style.display = 'none'; // Hide the PDF
toggletwoButton.textContent = 'Show 2 regulation'; // Reset button text
toggletwoButton.textContent = 'Show UV controlled gene switch regulation'; // Reset button text
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment