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

Height type error #37

Open
Os41 opened this issue Apr 22, 2024 · 0 comments
Open

Height type error #37

Os41 opened this issue Apr 22, 2024 · 0 comments

Comments

@Os41
Copy link
Contributor

Os41 commented Apr 22, 2024

Screenshot 2024-04-22 at 4 42 23 AM

This happened if there is no comment under the endpoint name title <h2>, and there is no Request samples <h3> under the reqBox,

Can we add a check for Response samples <h3>, if we could not find the Request?

Like this to avoid the bug,
if($(requestSel).length && ($(requestSel).text().includes("Request") || $(requestSel).text().includes("Response")))

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

No branches or pull requests

1 participant