mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update animation
This commit is contained in:
parent
b10f21d162
commit
c2791eade8
2 changed files with 5 additions and 5 deletions
|
@ -155,7 +155,7 @@
|
||||||
enableFullPaperTabs: function () {
|
enableFullPaperTabs: function () {
|
||||||
|
|
||||||
if (browserInfo.animate && !browserInfo.mobile) {
|
if (browserInfo.animate && !browserInfo.mobile) {
|
||||||
//return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return AppInfo.isNativeApp;
|
return AppInfo.isNativeApp;
|
||||||
|
|
|
@ -91,10 +91,10 @@
|
||||||
elem.classList.add('hide');
|
elem.classList.add('hide');
|
||||||
};
|
};
|
||||||
|
|
||||||
//if (!browserInfo.animate || browserInfo.mobile) {
|
if (!browserInfo.animate || browserInfo.mobile) {
|
||||||
onfinish();
|
onfinish();
|
||||||
return;
|
return;
|
||||||
//}
|
}
|
||||||
|
|
||||||
requestAnimationFrame(function () {
|
requestAnimationFrame(function () {
|
||||||
var keyframes = [
|
var keyframes = [
|
||||||
|
@ -113,9 +113,9 @@
|
||||||
|
|
||||||
elem.classList.remove('hide');
|
elem.classList.remove('hide');
|
||||||
|
|
||||||
//if (!browserInfo.animate || browserInfo.mobile) {
|
if (!browserInfo.animate || browserInfo.mobile) {
|
||||||
return;
|
return;
|
||||||
//}
|
}
|
||||||
|
|
||||||
requestAnimationFrame(function () {
|
requestAnimationFrame(function () {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue