mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Update src/scripts/clientUtils.js
Co-authored-by: Cameron <Influence365@gmail.com>
This commit is contained in:
parent
5b0018850e
commit
7f9f3cf206
@ -136,7 +136,7 @@ export function processErrorResponse(response) {
|
|||||||
export function alert(options) {
|
export function alert(options) {
|
||||||
if (typeof options == 'string') {
|
if (typeof options == 'string') {
|
||||||
return void import('toast').then(({default: toast}) => {
|
return void import('toast').then(({default: toast}) => {
|
||||||
toast.default({
|
toast({
|
||||||
text: options
|
text: options
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user