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

Add protecting <div> around the geogebra object. #354

Merged
merged 1 commit into from
May 13, 2018

Conversation

mgage
Copy link
Sponsor Member

@mgage mgage commented May 3, 2018

This is a hot fix.

The geogebra javaScript modifies the style of the second enveloping <div> containing the geogebra object. Specifically it sets the height and width. If the <div> contains other material besides the geogebra object these values for the height and width will be incorrect causing overlapping outputs.

This fixes the display problems discussed in the forum at
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=4401

…ipt modifies the style of the second enveloping <div> containing the geogebra object. Specifically it sets the height and width. If the <div> contains other material besides the geogebra object these values for the height and width will be incorrect causing overlapping outputs.
@mgage
Copy link
Sponsor Member Author

mgage commented May 13, 2018

This a small fix, but it should compensate for apparent changes in the geogebra site code for geogebra HTML5 applets

@mgage mgage merged commit 8a089ed into openwebwork:master May 13, 2018
@mgage mgage deleted the geogebra_hotfix branch May 13, 2018 16:27
@mgage mgage mentioned this pull request May 13, 2018
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