summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r--webapp/utils/utils.jsx16
1 files changed, 0 insertions, 16 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 16edbecdc..56482a0fb 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -732,22 +732,6 @@ export function resetTheme() {
applyTheme(Constants.THEMES.default);
}
-export function applyFont(fontName) {
- const body = $('body');
-
- for (const key of Reflect.ownKeys(Constants.FONTS)) {
- const className = Constants.FONTS[key];
-
- if (fontName === key) {
- if (!body.hasClass(className)) {
- body.addClass(className);
- }
- } else {
- body.removeClass(className);
- }
- }
-}
-
export function changeCss(className, classValue) {
let styleEl = document.querySelector('style[data-class="' + className + '"]');
if (!styleEl) {