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

Fix some instances of embedded helioviewer #537

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

dgarciabriseno
Copy link
Contributor

Summary

For #536

This fixes the "embed" portion of Helioviewer being embedded in pages. The minimal view is still having issues being embedded.

Helioviewer was failing to load because it attempted to access the localStorage object on the window, which was denied.

Helioviewer was already design to work without localStorage support, but it failed to catch this instance of it not being accessible.

There were also issues positioning the earth scale since some HTML elements that it used as a reference don't exist.

Testing

Enter the browser versions this change was tested on below.

browser version
firefox 115.7.0esr (64-bit)
chrome 122.0.6261.69 (Official Build) (arm64)
safari 17.2.1 (18617.1.17.11.12, 18617)
edge untested

@dgarciabriseno dgarciabriseno merged commit a0bbad3 into Helioviewer-Project:main Feb 26, 2024
1 check passed
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