mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	Fix issues shown by codacy
This commit is contained in:
		| @@ -205,11 +205,11 @@ $(function() { | |||||||
|         $(".discover .row").isotope("layout"); |         $(".discover .row").isotope("layout"); | ||||||
|     }); |     }); | ||||||
| 	 | 	 | ||||||
| 	$(".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"); | ||||||
| 	}); |     }); | ||||||
| 	 | 	 | ||||||
| }); | }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Virgil Grigoras
					Virgil Grigoras