From 6b77a054c25acb0437a58107c4592ad66c830993 Mon Sep 17 00:00:00 2001
From: Saturnino Abril <saturnino.abril@gmail.com>
Date: Fri, 30 Jun 2017 23:29:14 +0800
Subject: remove font setting and default to Open Sans (#6643)

---
 webapp/utils/utils.jsx | 16 ----------------
 1 file changed, 16 deletions(-)

(limited to 'webapp/utils/utils.jsx')

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) {
-- 
cgit v1.2.3-1-g7c22

