Fix issues shown by codacy

pull/826/head
Virgil Grigoras 6 years ago
parent 15aa49e163
commit f5cf62f209

@ -205,11 +205,11 @@ $(function() {
$(".discover .row").isotope("layout");
});
$(".author-expand").click(function() {
$(this).parent().find('a.author-name').slice($(this).data("authors-max")).toggle();
$(this).parent().find('span.author-hidden-divider').toggle();
$(this).html()==$(this).data("collapse-caption")? $(this).html('(...)'):$(this).html($(this).data("collapse-caption"));
$(".discover .row").isotope("layout");
});
$(".author-expand").click(function() {
$(this).parent().find("a.author-name").slice($(this).data("authors-max")).toggle();
$(this).parent().find("span.author-hidden-divider").toggle();
$(this).html()===$(this).data("collapse-caption") ? $(this).html("(...)") : $(this).html($(this).data("collapse-caption"));
$(".discover .row").isotope("layout");
});
});

Loading…
Cancel
Save