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-08-11 23:23:12 -04:00
parent 1ad3cfbf43
commit 106870b066
11 changed files with 99 additions and 65 deletions

View file

@ -1,4 +1,4 @@
define([], function () {
define(['dom'], function (dom) {
/**
* Copyright 2012, Digital Fusion
@ -19,10 +19,7 @@
return true;
}
windowSize = windowSize || {
innerHeight: window.innerHeight,
innerWidth: window.innerWidth
};
windowSize = windowSize || dom.getWindowSize();
var vpWidth = windowSize.innerWidth,
vpHeight = windowSize.innerHeight;