From 10b5a9376efaa84813aa4332f5f5431413e9a5df Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 22 May 2019 11:17:38 +0200 Subject: [PATCH] fix lint --- src/utils/FontManager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/FontManager.js b/src/utils/FontManager.js index a56d821780..a7d33401eb 100644 --- a/src/utils/FontManager.js +++ b/src/utils/FontManager.js @@ -78,9 +78,11 @@ export async function fixupColorFonts() { // we programatically add the right fontface. let font; if (await isColrFontSupported()) { - font = new FontFace("Twemoji", `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2")}')`, {}); + font = new FontFace("Twemoji", + `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2")}')`, {}); } else { - font = new FontFace("Twemoji", `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-sbix.woff2")}')`, {}); + font = new FontFace("Twemoji", + `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-sbix.woff2")}')`, {}); } document.fonts.add(font); }