Make it possible to have a short menu and button name

This commit is contained in:
Jesper Kolbeck 2021-12-08 21:54:55 +01:00
parent 9e12fdbdbf
commit b8e0f89eb0
3 changed files with 13 additions and 4 deletions

View file

@ -49,7 +49,7 @@ var $sitehead = $("#site-head");
});
$(".post-title").each(function () {
var t = $(this).text();
var t = $(this).data("fnav-title");
var index = $(this).parents(".post-holder").index();
$fnav.append(
"<a class='fn-item' item_index='" + index + "'>" + t + "</a>"