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

@ -865,7 +865,7 @@ export default function () {
}, currentPlayer);
form.querySelector('input').value = '';
toast('Message sent.');
toast(globalize.translate('MessageSent'));
e.preventDefault();
e.stopPropagation();
@ -882,7 +882,7 @@ export default function () {
}, currentPlayer);
form.querySelector('input').value = '';
toast('Text sent.');
toast(globalize.translate('TextSent'));
e.preventDefault();
e.stopPropagation();