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

don't repetitively load jquery on staff page #781

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bufordrat
Copy link
Collaborator

@bufordrat bufordrat commented Aug 1, 2024

Fixes #780.

Just moves the jQuery include from the staff app to the unit app so that jQuery 3.3.1 loads once.

Can be previewed here:
https://wwwtrain.lib.uchicago.edu/about/directory/?view=staff

Copy link
Member

@bbusenius bbusenius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I'm surprised we don't have a JS block in the base page template but I guess it's never come up before. I see we conditionally load JQuery on the hours page there (different version, I'm sure). Anyhow, I don't think either of those approaches are necessary in this case. Tests are passing. I'm happy.

Copy link
Contributor

@vitorgomateus vitorgomateus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

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.

don't repetitively load jquery on staff page
3 participants