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

get headroom from bower

This commit is contained in:
Luke Pulverenti 2015-11-28 15:39:14 -05:00
parent 77e3111ad1
commit 27c3bdc042
58 changed files with 1224 additions and 3803 deletions

View file

@ -2,26 +2,11 @@
var showOverlayTimeout;
function getCardHoverElement(e) {
var elem = parentWithClass(e.target, 'card');
if (!elem) {
return null;
}
if (elem.classList.contains('bannerCard')) {
return null;
}
return elem;
}
function onHoverOut(e) {
var elem = getCardHoverElement(e);
var elem = e.target;
if (!elem) {
if (!elem.classList.contains('card')) {
return;
}
@ -732,9 +717,9 @@
function onHoverIn(e) {
var elem = getCardHoverElement(e);
var elem = e.target;
if (!elem) {
if (!elem.classList.contains('card')) {
return;
}