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

Only send web request for zoom library if it is not disabled. #1071

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Only send web request for zoom library if it is not disabled. #1071

merged 1 commit into from
Dec 1, 2023

Conversation

ItsJustRuby
Copy link
Contributor

@ItsJustRuby ItsJustRuby commented Nov 28, 2023

There is already an if condition in footer.html that only runs the JS from the zoom library if it is enabled per-site.

This commit takes the same if condition and applies it in head.html as well to save a unnecessary web request to zoom.min.js if that is the case.

There is already a if condition in `footer.html` that only runs the JS
from the zoom library if it is enabled per-site.
This commit takes the same if condition and applies it in `head.html` as
well to save a unnecessary web request to `zoom.min.js` if that is the case.
@nunocoracao
Copy link
Owner

looks good thanks @ItsJustRuby

@nunocoracao nunocoracao merged commit baa33ff into nunocoracao:dev Dec 1, 2023
2 checks passed
@ItsJustRuby ItsJustRuby deleted the feature/skip_request_for_zoom.js_if_disabled branch December 7, 2023 06:39
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.

2 participants