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

Support opening links and images in new tabs and windows #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thesauri
Copy link
Collaborator

Currently, clicking on a link or image triggers a JavaScript function that navigation by changing window.location.href. The purpose seems to be to support quick selection of images in the admin mode, but it also has the nasty side effect that images cannot be opened in new tabs or windows by ctrl/cmd+clicking or even right clicking.

This pull request changes the behavior so that navigation for normal users is done using <a href="link" /> technology (🤯), but preserves the present behavior for admin users (clicking the image selects it when in selection mode).

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.

1 participant