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:
parent
d701233d5d
commit
cf42a066a9
4 changed files with 19 additions and 18 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue