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

Jquery once fix #48

Merged
merged 11 commits into from
May 17, 2023
Merged

Jquery once fix #48

merged 11 commits into from
May 17, 2023

Conversation

wgilling
Copy link
Contributor

@wgilling wgilling commented May 17, 2023

GitHub Issue: (link)
Islandora/documentation#2205

What does this Pull Request do?

Minor adjustment to the openseadragon javascript which connects the viewer to the underlying image resource

intended result of the PR will be and/or what problem it solves.

Prevents additional canvas elements from being shown in and below an OpenSeadragon viewer.

Technical details and possible side effects.

unknown

How should this be tested?

BEFORE this code is merged, it is important to find an islandora object with image media that will use the OpenSeadragon viewer -- which causes the doubled-canvas output. (See Islandora/documentation#2205). I have found that this happens when a larger resolution service file JPG is uploaded for a Service File media.
After the code has been merged, that same object from above should only display one canvas.

Additional Notes:

Any additional information that you think would be helpful when reviewing this
PR.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora/committers

Copy link
Member

@seth-shaw-asu seth-shaw-asu left a comment

Choose a reason for hiding this comment

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

👍

@seth-shaw-asu seth-shaw-asu merged commit 3d64720 into Islandora:2.x May 17, 2023
@aOelschlager aOelschlager deleted the jquery_once_fix branch May 18, 2023 14:41
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.

4 participants