Skip to content

Commit

Permalink
Merge pull request #3 from rpaladin/main
Browse files Browse the repository at this point in the history
Fix dropdown, tooltip, & link
  • Loading branch information
luboslenco authored Aug 7, 2023
2 parents 372a1d3 + a9f3c4b commit bfb9587
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions download.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,11 @@ <h1 class="display-5 text-body-emphasis lh-1 mb-3">ArmorLab Preview</h1>
game: "armorlab"
});
</script>
<script src="css/bootstrap.bundle.min.js"></script>
<script type="text/javascript">
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
window.onload = () => {
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
};
</script>
</div>

Expand Down Expand Up @@ -228,7 +229,7 @@ <h1 class="display-5 text-body-emphasis lh-1 mb-3">ArmorLab Preview</h1>
<h1 class="display-5 text-body-emphasis lh-1 mb-3">Latest Release</h1>
<p class="lead">Version: <span id="spanversion">...</span></p>
<p class="lead">Updated: <span id="spanupdated">...</span></p>
<p class="lead"><a href="https://armorlab.org/notes.html">What's New</a></p>
<p class="lead"><a href="https://armorlab.org/notes">What's New</a></p>
<p>🖌🎨</p>
</div>
</div>
Expand Down
9 changes: 5 additions & 4 deletions src/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ <h1 class="display-5 text-body-emphasis lh-1 mb-3">ArmorLab Preview</h1>
game: "armorlab"
});
</script>
<script src="css/bootstrap.bundle.min.js"></script>
<script type="text/javascript">
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
window.onload = () => {
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
};
</script>
</div>

Expand Down Expand Up @@ -93,7 +94,7 @@ <h1 class="display-5 text-body-emphasis lh-1 mb-3">ArmorLab Preview</h1>
<h1 class="display-5 text-body-emphasis lh-1 mb-3">Latest Release</h1>
<p class="lead">Version: <span id="spanversion">...</span></p>
<p class="lead">Updated: <span id="spanupdated">...</span></p>
<p class="lead"><a href="https://armorlab.org/notes.html">What's New</a></p>
<p class="lead"><a href="https://armorlab.org/notes">What's New</a></p>
<p>🖌🎨</p>
</div>
</div>
Expand Down

0 comments on commit bfb9587

Please sign in to comment.