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

update animation

This commit is contained in:
Luke Pulverenti 2015-12-27 13:47:48 -05:00
parent b10f21d162
commit c2791eade8
2 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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 () {