mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
Fix issues shown by codacy
This commit is contained in:
parent
15aa49e163
commit
f5cf62f209
@ -206,9 +206,9 @@ $(function() {
|
||||
});
|
||||
|
||||
$(".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"));
|
||||
$(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…
Reference in New Issue
Block a user