shorter 0.2s scroll-to animation, helps to reduce frustration from being prevented from scrolling

This commit is contained in:
zjedi 2023-03-22 00:55:49 +01:00
parent d6aa708294
commit 3a3651a999

View file

@ -53,7 +53,7 @@ var $sitehead = $("#site-head");
$(".fn-item").click(function () { $(".fn-item").click(function () {
var postId = $(this).data("post-id"); var postId = $(this).data("post-id");
var s = $("#" + postId); var s = $("#" + postId);
srcTo(s, 400); srcTo(s, 200);
}); });
}); });