This commit is contained in:
1 parent
710a9026df
commit
8f5e2b7d04
3 files changed
+4
No files matched your search
@@ -546,6 +546,7 @@ function toast(message, action = null) {
|
||||
document.body.appendChild(el);
|
||||
}
|
||||
el.innerHTML = "";
|
||||
el.classList.toggle("has-action", !!action);
|
||||
const text = document.createElement("span");
|
||||
text.textContent = message;
|
||||
el.appendChild(text);
|
||||
|
||||
Reference in new issue
Block a user