From 5f1b1044ed067989238575e821b3dfe41b8d97ad Mon Sep 17 00:00:00 2001 From: Daniel Calbet Date: Sat, 4 Nov 2023 09:13:13 +0100 Subject: [PATCH] fix: toast not shows text when classes defined --- src/toasts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toasts.ts b/src/toasts.ts index c160f457f5..59578cde2a 100644 --- a/src/toasts.ts +++ b/src/toasts.ts @@ -211,7 +211,7 @@ export class Toast { } // Set text content - else toast.innerText = this.message; + toast.innerText = this.message; // Append toast Toast._container.appendChild(toast);