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

fix language dropdown

This commit is contained in:
Luke Pulverenti 2015-11-29 14:44:15 -05:00
parent 3c30ee6e81
commit 039dcc8f8c
24 changed files with 154 additions and 82 deletions

View file

@ -100,6 +100,24 @@
setTimeout(function () {
var dlg = document.getElementById(id);
// The animations flicker in IE and Firefox (probably wherever the polyfill is used)
if (browserInfo.chrome) {
dlg.animationConfig = {
// scale up
'entry': {
name: 'scale-up-animation',
node: dlg,
timing: { duration: 160, easing: 'ease-out' }
},
// fade out
'exit': {
name: 'fade-out-animation',
node: dlg,
timing: { duration: 200, easing: 'ease-in' }
}
};
}
dlg.open();
// Has to be assigned a z-index after the call to .open()