Commit f5cf62f2 authored by Virgil Grigoras's avatar Virgil Grigoras

Fix issues shown by codacy

parent 15aa49e1
...@@ -206,9 +206,9 @@ $(function() { ...@@ -206,9 +206,9 @@ $(function() {
}); });
$(".author-expand").click(function() { $(".author-expand").click(function() {
$(this).parent().find('a.author-name').slice($(this).data("authors-max")).toggle(); $(this).parent().find("a.author-name").slice($(this).data("authors-max")).toggle();
$(this).parent().find('span.author-hidden-divider').toggle(); $(this).parent().find("span.author-hidden-divider").toggle();
$(this).html()==$(this).data("collapse-caption")? $(this).html('(...)'):$(this).html($(this).data("collapse-caption")); $(this).html()===$(this).data("collapse-caption") ? $(this).html("(...)") : $(this).html($(this).data("collapse-caption"));
$(".discover .row").isotope("layout"); $(".discover .row").isotope("layout");
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment