diff --git a/assets/js/index.js b/assets/js/index.js index 056a1bd..3b513fd 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -49,7 +49,7 @@ var $sitehead = $('#site-head'); var index = $(this).parents('.post-holder').index(); $fnav.append(""+t+"") $(this).parents('article').attr('id',t.toLowerCase().split(' ').join('-')); - $('.fn-item').click(function () { + $('.fn-item').last().click(function () { var i = $(this).attr('item_index'); var s = $(".post[item_index='"+i+"']");