test: again

This commit is contained in:
harukin 2019-01-22 17:10:54 +09:00
parent 2fec6a18e4
commit a2342170e0

View File

@ -101,20 +101,14 @@ $(document).ready(function() {
checkNotify(); checkNotify();
}, 10 * 1000); }, 10 * 1000);
//トップに戻る //トップに戻る
$("nav").click(function(e) { $("nav:not(a)").click(function(e) {
if ($(e.target).get(0).tagName == "a") { $("body,html").animate(
//spanだけ別の動作 {
return false; scrollTop: 0
} else { },
//普通の動作 150
$("body,html").animate( );
{ return false;
scrollTop: 0
},
150
);
return false;
}
}); });
}); });