mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-11-02 16:37:19 -04: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