mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-27 09:10:08 -05:00
Fix accessibility issue with expand CW button
This commit is contained in:
parent
f6d0cfee61
commit
ecdaabff33
@ -72,7 +72,7 @@ function expandCWButtonPrepare()
|
|||||||
{
|
{
|
||||||
var theButton = document.querySelector('#expandCWs');
|
var theButton = document.querySelector('#expandCWs');
|
||||||
if (!theButton) {
|
if (!theButton) {
|
||||||
theButton = document.createElement('p');
|
theButton = document.createElement('button');
|
||||||
theButton.id = "expandCWs";
|
theButton.id = "expandCWs";
|
||||||
theButton.textContent = "Expand CWs";
|
theButton.textContent = "Expand CWs";
|
||||||
theButton.classList.toggle('button');
|
theButton.classList.toggle('button');
|
||||||
|
Loading…
Reference in New Issue
Block a user