Skip to content

Commit

Permalink
Fix target element ID
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Jan 6, 2025
1 parent d537a41 commit a685f36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/labs/static/labs/content/docs/templates/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h2 class="accordion-header" id="headingTwo">
</li>
<li>
To speed up development, you can also
<a href="#" data-bs-toggle="collapse" data-bs-target="#section_1-sections-5-collapse" aria-expanded="true" aria-controls="section_1-sections-5-collapse" onclick="document.getElementById('section_1-sections-5-collapse').scrollIntoView();">
<a href="#" data-bs-toggle="collapse" data-bs-target="#section_1-sections-5-collapse" aria-expanded="true" aria-controls="section_1-sections-5-collapse" onclick="document.getElementById('section_1-faq-5-collapse').scrollIntoView();">
render your page locally
</a>.
This allows you to see changes immediately, without having to push
Expand Down Expand Up @@ -263,8 +263,8 @@ <h5 class="modal-title">Galaxy {{ site_name }}</h5>

PR.prettyPrint();
if (window.location.hash === '#installLabsEngine') {
$('#section_1-sections-5-accordion')[0].scrollIntoView()
$('#section_1-sections-5-accordion button').click()
$('#section_1-faq-5-accordion')[0].scrollIntoView()
$('#section_1-faq-5-accordion button').click()
}
console.log('DOM fully loaded and parsed');
});
Expand Down

0 comments on commit a685f36

Please sign in to comment.