Remove base64 character set label

This commit is contained in:
Florine W. Dekker 2020-04-05 13:49:36 +02:00
parent 0e148a48ef
commit c99d596989
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
1 changed files with 1 additions and 7 deletions

View File

@ -55,7 +55,7 @@
<a href="https://git.fwdekker.com/FWDekker/converter/src/branch/master/LICENSE">MIT License</a>.
Source code available on <a href="https://git.fwdekker.com/FWDekker/converter/">git</a>.
<div style="float: right;">v1.4.5</div>
<div style="float: right;">v1.4.6</div>
</section>
</footer>
</main>
@ -211,11 +211,6 @@
constructor(name) {
super(name, new Base64NumeralSystem(Base64NumeralSystem.defaultAlphabet()));
this.dropdownLabel = document.createElement("label");
this.dropdownLabel.setAttribute("for", `${this.name}Dropdown`);
this.dropdownLabel.innerHTML = "Character set";
this.dropdownLabel.classList.add("label-inline");
this.dropdown = document.createElement("select");
this.dropdown.id = `${this.name}Dropdown`;
this.dropdown.onchange = () => {
@ -247,7 +242,6 @@
}
addToParent(parent) {
this.dropdownDiv.appendChild(this.dropdownLabel);
this.options.forEach(option => this.dropdown.appendChild(option));
this.dropdownDiv.appendChild(this.dropdown);
parent.appendChild(this.dropdownDiv);