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

Evasys popup doesnt allow to open html links with left click #40

Open
nicolasjacquemet opened this issue Dec 1, 2023 · 0 comments
Open

Comments

@nicolasjacquemet
Copy link

Hi,

when using the popup option provided by the plugin (block_onlinesurvey | survey_show_popupinfo), links added to the html content cant be opened with a simple left click, while it does work with middle and right click.
Can be easily reproduced with this simple setup :
image

After some research the issue seems to be caused by the e.preventDefault() here :
https://github.com/evasys-community/moodle-block_onlinesurvey/blob/master/amd/src/modal-zoom.js#L150
Commentating the line fixes the problem.
The issue affects versions 3 and 4.

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

No branches or pull requests

1 participant