mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Improve flick
This commit is contained in:
parent
1bb0e96d97
commit
965001e862
2 changed files with 4 additions and 1 deletions
|
@ -67,6 +67,7 @@ function startModeFlix(container) {
|
|||
|
||||
$(container + ".thumbsImage").on("click", function () {
|
||||
var crc = $(this).attr('crc');
|
||||
var uidOriginal = $(this).attr('uidOriginal');
|
||||
var ajaxLoad = $(this).attr('ajaxLoad');
|
||||
var myEleTop = $('.navbar-fixed-top .items-container').outerHeight(true);
|
||||
var row = $(this).closest('.row');
|
||||
|
@ -82,6 +83,7 @@ function startModeFlix(container) {
|
|||
$(".arrow-down").fadeOut();
|
||||
$(".thumbsImage").removeClass('active');
|
||||
$(this).closest('.flickity-area').find('.poster').not('#poster' + crc).slideUp();
|
||||
$('.'+uidOriginal).find('.poster').not('#poster' + crc).slideUp();
|
||||
if ($('#poster' + crc).is(":hidden")) {
|
||||
$('#poster' + crc).css('background-image', 'url(' + $('#poster' + crc).attr('poster') + ')');
|
||||
$('#poster' + crc).slideDown('fast', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue