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

update components

This commit is contained in:
Luke Pulverenti 2016-10-02 02:46:32 -04:00
parent d4f9f432a4
commit c7b23209cf
8 changed files with 58 additions and 43 deletions

View file

@ -1,4 +1,5 @@
define(['dialogHelper', 'layoutManager', 'globalize', 'browser', 'dom', 'emby-button', 'css!./actionsheet', 'material-icons', 'scrollStyles'], function (dialogHelper, layoutManager, globalize, browser, dom) {
'use strict';
function getOffsets(elems) {
@ -46,7 +47,7 @@
var pos = getOffsets([options.positionTo])[0];
if (options.positionY != 'top') {
if (options.positionY !== 'top') {
pos.top += (pos.height || 0) / 2;
}