diff --git a/koki/asahi.js b/koki/asahi.js index 2eb4f71..d730926 100644 --- a/koki/asahi.js +++ b/koki/asahi.js @@ -148,7 +148,7 @@ }) function clickListener(e) { for (var a in info) { - if(e.target.getAttribute("id") == image[a]){ + if(e.target.id == image[a]){ if (judge[a] == true){ let elem = document.getElementById(info); elem.innerText = info[a];