diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-18 01:00:49 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-18 01:00:49 +0100 |
| commit | dbbe9d37500219b61132266029c1d8f42378c01c (patch) | |
| tree | 98b439fb6338f56c12c28fb43dc1203d24a8d9b9 /emccpre.js | |
| parent | 5c180cfa6fee3409d60d959adacc0701d16c0e26 (diff) | |
| download | puzzles-dbbe9d37500219b61132266029c1d8f42378c01c.zip puzzles-dbbe9d37500219b61132266029c1d8f42378c01c.tar.gz puzzles-dbbe9d37500219b61132266029c1d8f42378c01c.tar.bz2 puzzles-dbbe9d37500219b61132266029c1d8f42378c01c.tar.xz | |
js: Make the dialogue box heading actually be an <h2>
This is semantically more correct and less ugly as well.
Diffstat (limited to 'emccpre.js')
| -rw-r--r-- | emccpre.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -185,8 +185,7 @@ function dialog_init(titletext) { 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); |