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:
commit
a39834c705
270 changed files with 6321 additions and 8694 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue