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

Merge branch 'master' into migrate-to-ES6-42

This commit is contained in:
Cameron 2020-08-03 15:01:42 +01:00 committed by GitHub
commit a39834c705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
270 changed files with 6321 additions and 8694 deletions

View file

@ -1,16 +1,13 @@
import 'css!./toast';
function remove(elem) {
setTimeout(function () {
elem.parentNode.removeChild(elem);
}, 300);
}
function animateRemove(elem) {
setTimeout(function () {
elem.classList.remove('toastVisible');
remove(elem);
@ -35,6 +32,5 @@ export default function (options) {
elem.classList.add('toastVisible');
animateRemove(elem);
}, 300);
}