1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00

hide all gifs before show

This commit is contained in:
daniel 2018-03-25 16:45:48 -03:00
parent a111012f92
commit 5a5c62103f

View file

@ -55,6 +55,7 @@ $(document).ready(function () {
$(".thumbsImage").on("mouseenter", function () {
gifId = $(this).find(".thumbsGIF").attr('id');
$(".thumbsGIF").fadeOut();
if (gifId != undefined) {
id = gifId.replace('thumbsGIF', '');
$(this).find(".thumbsGIF").height($(this).find(".thumbsJPG").height());