From ea735d279fe110edb87acb5397a04530ff217a6f Mon Sep 17 00:00:00 2001 From: cutls Date: Fri, 12 Jun 2020 20:58:10 +0900 Subject: [PATCH] font-change bug --- app/js/ui/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index ff554d10..5620c8f6 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -99,14 +99,14 @@ function settings() { var fontd = $('#font').val() if (fontd) { if (fontd != localStorage.getItem('font')) { - M.toast({ html: lang.lang_setting_font.replace('{{set}}', ct), displayLength: 3000 }) + M.toast({ html: lang.lang_setting_font.replace('{{set}}', fontd), displayLength: 3000 }) } localStorage.setItem('font', fontd) themes() } else { if (localStorage.getItem('font')) { localStorage.removeItem('font') - M.toast({ html: lang.lang_setting_font.replace('{{set}}', ct), displayLength: 3000 }) + M.toast({ html: lang.lang_setting_font.replace('{{set}}', fontd), displayLength: 3000 }) themes() } }