1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

For some reason teh code to animated gif disapear

This commit is contained in:
daniel 2017-08-21 14:23:48 -03:00
parent f90236e8b1
commit 8f6e3f2e26

View file

@ -41,6 +41,15 @@ $(document).ready(function () {
$('[data-toggle="popover"]').popover();
$('[data-toggle="tooltip"]').tooltip();
$(".thumbsImage").on("mouseenter", function () {
$(this).find(".thumbsGIF").height($(this).find(".thumbsJPG").height());
$(this).find(".thumbsGIF").width($(this).find(".thumbsJPG").width());
$(this).find(".thumbsGIF").stop(true, true).fadeIn();
});
$(".thumbsImage").on("mouseleave", function () {
$(this).find(".thumbsGIF").stop(true, true).fadeOut();
});
});
function changeVideoSrc(vid_obj, fileName) {
vid_obj.src([