diff --git a/js/typing.js b/js/typing.js index 3d98d66..baf5556 100644 --- a/js/typing.js +++ b/js/typing.js @@ -90,10 +90,11 @@ themeToggleButton.addEventListener('click', () => { body.classList.toggle('dark-theme'); const isDarkTheme = body.classList.contains('dark-theme'); themeToggleButton.innerHTML = isDarkTheme - ? '' - : ''; + ? '' + : ''; }); + document.addEventListener("DOMContentLoaded", function() { const sidebar = document.querySelector('.sidebar'); sidebar.style.display = 'none';