Skip to content

Commit aa901a5

Browse files
author
Shana Moore
committed
🐛 font inputs rendered twice fix
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
1 parent 85b5250 commit aa901a5

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

app/assets/javascripts/admin_font_select.js

-6
This file was deleted.

app/assets/javascripts/application.js

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
//= require tether
2626
// Required by Blacklight
2727
//= require blacklight/blacklight
28-
//= require admin_font_select
2928

3029
// Moved the Hyku JS *above* the Hyrax JS to resolve #1187 (following
3130
// a pattern found in ScholarSphere)

0 commit comments

Comments
 (0)