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

Remove useless abstractions and hardcoded text for toasts

This commit is contained in:
Bill Thornton 2021-05-26 13:12:19 -04:00
parent 5d76722a27
commit 3272d12f64
6 changed files with 10 additions and 20 deletions

View file

@ -167,10 +167,6 @@ import toast from './toast/toast';
});
}
function sendToast(text) {
toast(text);
}
function executeAction(card, target, action) {
target = target || card;
@ -222,7 +218,7 @@ import toast from './toast/toast';
ids: [playableItemId],
serverId: serverId
});
sendToast(globalize.translate('MediaQueued'));
toast(globalize.translate('MediaQueued'));
} else {
playbackManager.queue({
ids: [playableItemId],