-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Default template, theme switch error #383
Comments
Thanks @IceBjerg I'm 99% sure I introduced this issue recently 😢 - I'll take a look tomorrow and see what's happening. PRs are always welcome too ❤️ |
I created a PR. :) |
Looks good, this could have also been fixed by adding jquery in the template above the function. :D I've merged it now, I'll sort out the package stuff later and add your name to the readme 😄 |
Thanks :) |
I've pushed out a new version and updated the project to include your name 🏆 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is There An Existing Issue
What Are You Seeing
When loading a report, generated by the htmlextra reporter, the default switch is always showing OFF, however the site loads correctly, with the last used theme. (tested on Chrome 101)
The error I get is the following (in console:)
From this line of code:
What I think is happening is that the script wants to use JQuery, but is not yet loaded.
One of a solution I can think of, is to move the highlighted code after jQuery has already been loaded.
Steps To Reproduce The Issue
Full Newman Command Or Node Script
HTMLEXTRA Version
latest
Newman Version
latest docker image
Additional Context
No response
The text was updated successfully, but these errors were encountered: