diff options
Diffstat (limited to 'js/main.ts')
| -rw-r--r-- | js/main.ts | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -128,9 +128,9 @@ const settings = new KeyValueStore({ | |||
| 128 | const settingMonospaceFontValueEl = settingMonospaceFontEl.getElementsByClassName('setting__value')[0]; | 128 | const settingMonospaceFontValueEl = settingMonospaceFontEl.getElementsByClassName('setting__value')[0]; | 
| 129 | const settingMonospaceFontCallback = (value: boolean) => { | 129 | const settingMonospaceFontCallback = (value: boolean) => { | 
| 130 | if (value) { | 130 | if (value) { | 
| 131 | contentEl.classList.add("content--has-monospace-font"); | 131 | contentEl.classList.add("content--prefer-monospace"); | 
| 132 | } else { | 132 | } else { | 
| 133 | contentEl.classList.remove("content--has-monospace-font"); | 133 | contentEl.classList.remove("content--prefer-monospace"); | 
| 134 | } | 134 | } | 
| 135 | 135 | ||
| 136 | settingMonospaceFontValueEl.textContent = value ? '[yes]' : '[no]'; | 136 | settingMonospaceFontValueEl.textContent = value ? '[yes]' : '[no]'; | 
