You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The theme initialization script script.js tries to instantiate a Masonry instance on the .masonry-wrapper element, but the Masonry library is not loaded or imported anywhere on the site.
When a user visits the FAQ page (which includes the .masonry-wrapper class), the onload function matches the element and calls new Masonry(...). Since the Masonry dependency is not loaded in the HTML or project modules, this throws a fatal ReferenceError: Masonry is not defined and crashes the JavaScript runtime context on the page.
How to Reproduce
Open the FAQ page on the website.
Open the developer console.
Observe the JavaScript error: ReferenceError: Masonry is not defined.
Reproduction Flow
graph TD
A[Start: Load FAQ Page] --> B[HTML renders element with .masonry-wrapper]
B --> C[window.onload event fires]
C --> D[Script queries wrapper element]
D --> E{Wrapper found?}
E -- Yes --> F[Execute: new Masonry()]
F --> G{Is Masonry loaded in namespace?}
G -- No --> H[Crash: ReferenceError: Masonry is not defined]
H --> I[Subsequent page JS execution fails]
Describe the bug
Description
The theme initialization script
script.jstries to instantiate a Masonry instance on the.masonry-wrapperelement, but the Masonry library is not loaded or imported anywhere on the site.Why It Breaks
When a user visits the FAQ page (which includes the
.masonry-wrapperclass), the onload function matches the element and callsnew Masonry(...). Since the Masonry dependency is not loaded in the HTML or project modules, this throws a fatalReferenceError: Masonry is not definedand crashes the JavaScript runtime context on the page.How to Reproduce
ReferenceError: Masonry is not defined.Reproduction Flow
graph TD A[Start: Load FAQ Page] --> B[HTML renders element with .masonry-wrapper] B --> C[window.onload event fires] C --> D[Script queries wrapper element] D --> E{Wrapper found?} E -- Yes --> F[Execute: new Masonry()] F --> G{Is Masonry loaded in namespace?} G -- No --> H[Crash: ReferenceError: Masonry is not defined] H --> I[Subsequent page JS execution fails]Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Microcks version or git rev
No response
Install method (
docker-compose,helm chart,operator,docker-desktop extension,...)No response
Additional information
No response