1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00

resolve merge

This commit is contained in:
Vinzenz Hersche 2018-03-09 21:37:04 +01:00
commit 1ed361e9a4
9 changed files with 179 additions and 89 deletions

View file

@ -54,8 +54,20 @@ $(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
$(".thumbsImage").on("mouseenter", function () {
gifId = $(this).find(".thumbsGIF").attr('id');
id = gifId.replace('thumbsGIF','');
$(this).find(".thumbsGIF").height($(this).find(".thumbsJPG").height());
$(this).find(".thumbsGIF").width($(this).find(".thumbsJPG").width());
/*
try {
l1 = $('#thumbsJPG'+id).offset().left;
l2 = $('#thumbsJPG'+id).closest('.thumbsImage').offset().left;
left = l1-l2;
$(this).find(".thumbsGIF").css({"left": left});
} catch (e) {}
*/
$(this).find(".thumbsGIF").stop(true, true).fadeIn();
});