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 include # if there isn't any media fragment #35

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

cjcolvar
Copy link
Member

If your presenter implements #media_fragment and returns nil when there isn't a media fragment, you can end up with a canvas with a tailing #. A IIIF client that we're working with doesn't like this and it doesn't serve any purpose so this PR removes the # when no media fragment is present.

@tpendragon
Copy link
Contributor

@cjcolvar Do you want a test?

@cjcolvar
Copy link
Member Author

Sure, I could add that.

@cjcolvar cjcolvar merged commit 4219eb5 into master Mar 12, 2019
@cjcolvar cjcolvar deleted the cjcolvar-patch-1 branch March 12, 2019 17:59
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