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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-08-29 03:12:24 -04:00
parent 31449f85de
commit 7acfaee309
15 changed files with 86 additions and 143 deletions

View file

@ -200,22 +200,10 @@ define(['dom'], function (dom) {
var offset = getOffset(elem);
var posY = offset.top;
var posX = offset.left;
offset.right = offset.left + offset.width;
offset.bottom = offset.top + offset.height;
var width = offset.width;
var height = offset.height;
//var width = elem.offsetWidth;
//var height = elem.offsetHeight;
return {
left: posX,
top: posY,
width: width,
height: height,
right: posX + width,
bottom: posY + height
};
return offset;
}
function nav(activeElement, direction) {