1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update people saving

This commit is contained in:
Luke Pulverenti 2015-06-28 21:10:45 -04:00
parent d701233d5d
commit cf42a066a9
4 changed files with 19 additions and 18 deletions

View file

@ -9,23 +9,19 @@
showOverlayTimeout = null;
}
$('.cardOverlayTarget:visible', this).each(function () {
var elem = this.querySelector('.cardOverlayTarget');
var elem = this;
$(this).animate({ "height": "0" }, "fast", function () {
$(elem).hide();
if ($(elem).is(':visible')) {
require(["jquery", "velocity"], function ($, Velocity) {
Velocity.animate(elem, { "height": "0" },
{
complete: function () {
$(elem).hide();
}
});
});
});
$('.cardOverlayTarget:visible', this).stop().animate({ "height": "0" }, function () {
$(this).hide();
});
}
}
function getOverlayHtml(item, currentUser, card, commands) {
@ -820,11 +816,13 @@
$('.btnMoreCommands', innerElem).on('click', onMoreButtonClick);
});
$(innerElem).show().each(function () {
$(innerElem).show();
innerElem.style.height = '0';
this.style.height = 0;
require(["jquery", "velocity"], function ($, Velocity) {
}).animate({ "height": "100%" }, "fast");
Velocity.animate(innerElem, { "height": "100%" }, "fast");
});
}
function onHoverIn() {