From e58fabd89f9708aaeb10e52f731759712034833f Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 18 May 2020 18:02:20 +0200 Subject: WIP: Refactoring --- js/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/main.ts b/js/main.ts index 2d11ea4..031e959 100644 --- a/js/main.ts +++ b/js/main.ts @@ -128,9 +128,9 @@ const settings = new KeyValueStore({ const settingMonospaceFontValueEl = settingMonospaceFontEl.getElementsByClassName('setting__value')[0]; const settingMonospaceFontCallback = (value: boolean) => { if (value) { - contentEl.classList.add("content--has-monospace-font"); + contentEl.classList.add("content--prefer-monospace"); } else { - contentEl.classList.remove("content--has-monospace-font"); + contentEl.classList.remove("content--prefer-monospace"); } settingMonospaceFontValueEl.textContent = value ? '[yes]' : '[no]'; -- cgit v1.2.3-70-g09d2