This commit is contained in:
harukin 2019-01-22 17:42:57 +09:00
parent de8640fde4
commit 3e51b31f9d

View File

@ -102,7 +102,9 @@ $(document).ready(function() {
}, 10 * 1000);
//トップに戻る
$("nav").click(function(e) {
if ($(e.target).get(0).tagName == "a") {
if ($(e.target).is("a")) {
//させたい別の動作
alert("b");
//aだけ別の動作
return true;
}