fix: add missing Howler.js dependency to contact.html#222
Merged
DavidKRK merged 3 commits intoMay 19, 2026
Conversation
|
|
6 tasks
Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/de4fd954-b769-42c5-8e0f-9b37fc76373d Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Buy Me A Coffee image aspect ratio on all pages
fix: add missing Howler.js dependency to contact.html
May 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes ReferenceError: Howl is not defined on contact.html by ensuring the Howler dependency is loaded before assets/js/main.js, matching the established script order used on other pages.
Changes:
- Add the
howler.core.min.jsCDN script tag tocontact.html. - Ensure
howler.core.min.jsis loaded beforeassets/js/main.jssoHowlis available whenmain.jsevaluates.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
✅ Deploy Preview for whimsical-kitsune-85066d ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for spiffy-liger-8bab58 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
contact.htmlloadsmain.js, which instantiatesHowlobjects at module scope, but was missing thehowler.core.min.jsscript tag — causingReferenceError: Howl is not definedon every contact page load.Change
Added the Howler CDN script before
main.jsincontact.html, consistent with every other page that loadsmain.js:All other pages using
main.js(index.html,music.html,event.html,shop.html) already include this dependency.