1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00
This commit is contained in:
Daniel Neto 2023-11-13 11:09:18 -03:00
parent 714a9a1820
commit bd3db04ab2
6 changed files with 37 additions and 44 deletions

View file

@ -4088,3 +4088,12 @@ function preloadVmapAndUpdateAdTag(adTagUrl) {
console.error("Error preloading and updating adTagUrl:", error);
});
}
function windowIsfXs() {
var screenWidth = $(window).width();
if (screenWidth < 768) {
return true;
} else {
return false;
}
}