From f2209d98608721ee7775cf193ea4ef5061d7eb3f Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 28 Jun 2015 17:37:34 +0200 Subject: [PATCH] Add label to comments selector. --- _includes/comments.html | 1 + javascripts/comments.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_includes/comments.html b/_includes/comments.html index d185a79..d40acfc 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -1,4 +1,5 @@ diff --git a/javascripts/comments.coffee b/javascripts/comments.coffee index 5aec1eb..d9a8818 100644 --- a/javascripts/comments.coffee +++ b/javascripts/comments.coffee @@ -1,7 +1,7 @@ --- --- $(document).ready -> - $('ul#comments-tabs li').click -> + $('ul#comments-tabs li').not('.static').click -> tab_id = $(this).attr 'data-div' $('ul#comments-tabs li').removeClass 'current'