add Alert title to alert dialog template

This commit is contained in:
2026-07-01 18:51:26 +00:00
parent 3a7c4cd2ae
commit cede3b4b7f
+1
View File
@@ -48,6 +48,7 @@ export function alert (message) {
dialog.id = "alert-dialog"; dialog.id = "alert-dialog";
dialog.innerHTML = ` dialog.innerHTML = `
<form method="dialog"> <form method="dialog">
<p class="w3-large" id="prompt">Alert</p>
<p class="w3-center" style="margin-bottom: 0;">${message}</p> <p class="w3-center" style="margin-bottom: 0;">${message}</p>
<div class="w3-center"> <div class="w3-center">
<button class="w3-button w3-margin" id="submit">OK</button> <button class="w3-button w3-margin" id="submit">OK</button>