ref: dbbe9d37500219b61132266029c1d8f42378c01c
parent: 5c180cfa6fee3409d60d959adacc0701d16c0e26
author: Ben Harris <[email protected]>
date: Mon Oct 17 21:00:49 EDT 2022
js: Make the dialogue box heading actually be an <h2> This is semantically more correct and less ugly as well.
--- a/emccpre.js
+++ b/emccpre.js
@@ -185,8 +185,7 @@
dlg_form = document.createElement("form");
dlg_form.id = "dlgform";
- var title = document.createElement("p");
- title.className = "title";
+ var title = document.createElement("h2");
title.appendChild(document.createTextNode(titletext));
dlg_form.appendChild(title);
--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -237,7 +237,7 @@
z-index: 100;
}
-#dlgform .title {
+#dlgform h2 {
margin-top: 0px;
}