feat: change default toast type from "error" to "info" and add debug logging
This commit is contained in:
parent
98481b074a
commit
6108cfd486
@ -1176,7 +1176,8 @@
|
|||||||
|
|
||||||
/** Display a brief toast message at the bottom of the viewport. */
|
/** Display a brief toast message at the bottom of the viewport. */
|
||||||
function showToast(message, type) {
|
function showToast(message, type) {
|
||||||
type = type || "error";
|
console.log("showToast called with:", message, type);
|
||||||
|
type = type || "info";
|
||||||
let container = document.getElementById("toast-container");
|
let container = document.getElementById("toast-container");
|
||||||
if (!container) {
|
if (!container) {
|
||||||
container = document.createElement("div");
|
container = document.createElement("div");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user