1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Daniel Neto 2024-07-03 11:21:58 -03:00
parent fa1d12e7d4
commit f672e2d0e1

View file

@ -255,6 +255,11 @@ async function lazyImage() {
// called after an element was successfully handled // called after an element was successfully handled
afterLoad: function (element) { afterLoad: function (element) {
if(isMobile()){
$(".thumbsGIF").hide();
// disable it on mobile
return false;
}
element.addClass('gifNotLoaded'); element.addClass('gifNotLoaded');
element.addClass('lazyloadLoaded'); element.addClass('lazyloadLoaded');
element.removeClass('blur'); element.removeClass('blur');