mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 19:38:20 -07:00
15 lines
252 B
JavaScript
15 lines
252 B
JavaScript
|
define(['browser'], function (browser) {
|
||
|
|
||
|
function getAnimationPerformance() {
|
||
|
|
||
|
if (browser.mobile) {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
return 5;
|
||
|
}
|
||
|
|
||
|
return {
|
||
|
getAnimationPerformance: getAnimationPerformance
|
||
|
};
|
||
|
});
|