diff options
feat!: Removed CSMA, made minor styling changes
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/scripts/page-width.js | 4 |
diff --git a/src/scripts/page-width.js b/src/scripts/page-width.js index 784c0f2..353dc4d 100644 --- a/src/scripts/page-width.js +++ b/src/scripts/page-width.js @@ -4,11 +4,11 @@ const articleElem = document.getElementsByTagName('article')[0]; if (localStorage.getItem('width') === 'wide') { widthLabel.innerText = 'Narrow'; - articleElem.classList.add('noMaxWidth'); + articleElem.classList.add('article-wide'); } widthBtn.onclick = function() { - articleElem.classList.toggle('noMaxWidth'); + articleElem.classList.toggle('article-wide'); if (localStorage.getItem('width') !== 'norm') { widthLabel.innerText = 'Wide'; |