do not remove "for" for accessibility and reusability purposes
This commit is contained in:
parent
d52847635f
commit
1a011d2a65
2 changed files with 3 additions and 5 deletions
|
@ -2,11 +2,11 @@
|
||||||
<head>
|
<head>
|
||||||
<script src="../../styles/external/materialize/js/materialize.js"></script>
|
<script src="../../styles/external/materialize/js/materialize.js"></script>
|
||||||
<script src="../../scripts/pages/popup.js" type="module"></script>
|
<script src="../../scripts/pages/popup.js" type="module"></script>
|
||||||
<link href="../styles/popup.css" rel="stylesheet" type="text/css" />
|
<link href="../../styles/popup.css" rel="stylesheet" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="loading">
|
<body class="loading">
|
||||||
<label class="flow-text" data-text="loading_text"></label>
|
<label class="flow-text" for="loading"></label>
|
||||||
<div class="progress">
|
<div class="progress" data-value="progress">
|
||||||
<div class="indeterminate"></div>
|
<div class="indeterminate"></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -149,8 +149,6 @@ export default class windowman {
|
||||||
} else {
|
} else {
|
||||||
text_element.innerText = text_inserted;
|
text_element.innerText = text_inserted;
|
||||||
}
|
}
|
||||||
|
|
||||||
text_element.removeAttribute(`for`);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
delete text_elements[`content`];
|
delete text_elements[`content`];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue