Skip to content

Commit

Permalink
fix: toast not shows text when classes defined
Browse files Browse the repository at this point in the history
  • Loading branch information
danice committed Nov 4, 2023
1 parent 84c7a41 commit 5f1b104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toasts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5f1b104

Please sign in to comment.