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

Fix flix style

This commit is contained in:
DanielnetoDotCom 2020-10-14 10:36:39 -03:00
parent ebc3d94a42
commit 4a8177ceef
3 changed files with 22 additions and 2 deletions

View file

@ -34,6 +34,16 @@ $(function () {
}, 2000);
isFlickityEnabled('.carousel');
if ($(window).scrollTop() < 60) {
$("#mainNavBar").addClass("bgTransparent");
}
$(window).scroll(function () {
if ($(window).scrollTop() < 60) {
$("#mainNavBar").addClass("bgTransparent");
} else {
$("#mainNavBar").removeClass("bgTransparent");
}
});
});
function startModeFlix(container) {