Skip to content

Commit

Permalink
edits some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ubaskota committed Dec 5, 2024
1 parent f7082cc commit 07e3c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/_static/js/loadShortbread.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Check for cookie consent
shortbread.checkForCookieConsent();

// Add event listener for 'Cookie preferences' button read from page.html
// Add event listener for 'Cookie preferences' link read from page.html
const cookiePreferencesLink = document.getElementById('cookie-button-link');
if (cookiePreferencesLink) {
cookiePreferencesLink.addEventListener('click', function(event) {
Expand Down
2 changes: 0 additions & 2 deletions docs/source/_templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@
{%- endif %}
{# start of AWS modification of Furo template #}
<div class="legal-info">
<!-- <script type="text/javascript" src="{{ pathto('_static/shortbreadv1.js',1 ) }}"></script> -->
<!-- <script type="text/javascript" src="{{ pathto('_static/js/loadShortbread.js',1) }}"></script> -->
<a href="https://aws.amazon.com/privacy">Privacy</a> |
<a href="https://aws.amazon.com/terms">Site Terms</a> |
<a href="#" id="cookie-button-link">Cookie preferences</a>
Expand Down

0 comments on commit 07e3c33

Please sign in to comment.