Make it possible to have a short menu and button name
This commit is contained in:
parent
9e12fdbdbf
commit
b8e0f89eb0
3 changed files with 13 additions and 4 deletions
|
|
@ -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>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue