diff --git a/about/about_assets/about.js b/about/about_assets/about.js index 9e18222..e3120e9 100644 --- a/about/about_assets/about.js +++ b/about/about_assets/about.js @@ -1,3 +1,9 @@ function hideImg() { - document.getElementById("headImg").classList.toggle("show"); + var targetImg = document.getElementById("headImg") + + if (targetImg.style.backgroundImage == "") { + targetImg.style.backgroundImage= "url('internet.png')" + }else if (targetImg.style.backgroundImage == "url('internet.png')") { + targetImg.style.backgroundImage= "" + } } \ No newline at end of file