Skip to content
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

doc: fix swagger display #12321

Merged
merged 1 commit into from
Sep 26, 2023
Merged

doc: fix swagger display #12321

merged 1 commit into from
Sep 26, 2023

Conversation

ru-fu
Copy link
Contributor

@ru-fu ru-fu commented Sep 26, 2023

The JavaScript we include to display the feedback button uses the window.onload function. Swagger uses the same function ... which means it's overwritten.

Fix the script we control (github_issue_links.js) to preserve an existing onload function.

Fixes #12318

@ru-fu ru-fu requested a review from tomponline as a code owner September 26, 2023 15:25
The JavaScript we include to display the feedback button uses
the window.onload function. Swagger uses the same function ...
which means it's overwritten.

Fix the script we control (`github_issue_links.js`) to preserve
an existing onload function.

Fixes canonical#12318

Signed-off-by: Ruth Fuchss <[email protected]>
@tomponline tomponline merged commit f4f6d49 into canonical:main Sep 26, 2023
@ru-fu ru-fu deleted the fix-swagger branch September 27, 2023 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: Main API specification (Swagger) is not loading
2 participants