Update about.js
This commit is contained in:
parent
4a11447e13
commit
f71d77170e
|
|
@ -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')"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue