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

fix some toast imports

This commit is contained in:
vitorsemeano 2020-10-18 14:19:41 +01:00
parent c7caf8134d
commit 4b42afcd7a
11 changed files with 38 additions and 59 deletions

View file

@ -12,6 +12,7 @@ import globalize from '../scripts/globalize';
import dom from '../scripts/dom';
import recordingHelper from './recordingcreator/recordinghelper';
import ServerConnections from './ServerConnections';
import toast from './toast/toast';
function playAllFromHere(card, serverId, queue) {
const parent = card.parentNode;
@ -165,9 +166,7 @@ import ServerConnections from './ServerConnections';
}
function sendToast(text) {
import('./toast/toast').then((toast) => {
toast(text);
});
toast(text);
}
function executeAction(card, target, action) {