.tree-view {
font-size: 14px;
}
$(document).on('click', '.stats-btn', function() {
var $me = $(this),
meData = $me.data(),
action = meData.action,
postid = meData.postid;
$('.stats-btn').removeClass('active');
$me.addClass('active');
console.log(action, postid);
// TODO post action
});