Update about.js

This commit is contained in:
Joshua Killen 2020-04-17 12:52:29 +01:00
parent 4a11447e13
commit f71d77170e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
function hideImg() { function hideImg() {
var targetImg = document.getElementById("headImg") var targetImg = document.getElementsByClassName("headImg")
if (targetImg.style.backgroundImage == "") { if (targetImg.style.backgroundImage == "") {
targetImg.style.backgroundImage= "url('internet.png')" targetImg.style.backgroundImage= "url('internet.png')"