mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialogs
This commit is contained in:
parent
31449f85de
commit
7acfaee309
15 changed files with 86 additions and 143 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue