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

🐛 font inputs rendered twice fix #2014

Merged
merged 2 commits into from
Oct 11, 2023
Merged

🐛 font inputs rendered twice fix #2014

merged 2 commits into from
Oct 11, 2023

Conversation

ShanaLMoore
Copy link
Collaborator

In the Settings > Appearance> Font tab, the input fields for body and header fonts were getting rendered twice. We had duplicate code in two different files that called fontselect() on both elements. Because JS was getting called twice, two input fields were displayed. Removing one of them resolves the issue.

Fixes Issue:

BEFORE

image

AFTER

Screenshot 2023-10-05 at 8 03 07 AM

@samvera/hyku-code-reviewers

In the Settings > Appearance> Font tab, the input fields for body and header fonts were getting rendered twice.  We had duplicate code in two different files that called fontselect() on both elements. Because JS was getting called twice, two input fields were displayed. Removing one of them resolves the issue.

Issue:
- https://github.com/scientist-softserv/adventist-dl/issues/590
@ShanaLMoore ShanaLMoore added the minor-ver for release notes label Oct 5, 2023
@ShanaLMoore ShanaLMoore merged commit 6bbc07d into main Oct 11, 2023
4 checks passed
@ShanaLMoore ShanaLMoore deleted the double-rendered-fonts branch October 11, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants