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

update device discovery

This commit is contained in:
Luke Pulverenti 2016-09-13 13:49:13 -04:00
parent 62265de2e5
commit fdc83ada98
21 changed files with 119 additions and 80 deletions

View file

@ -7,12 +7,6 @@ define(['visibleinviewport', 'imageFetcher', 'layoutManager', 'events', 'browser
if (window.IntersectionObserver) {
// The api exists in chrome 50 but doesn't work
if (browser.chrome) {
var version = parseInt(browser.version.split('.')[0]);
return version >= 51;
}
return true;
}