Remove base64 character set label
This commit is contained in:
parent
0e148a48ef
commit
c99d596989
|
@ -55,7 +55,7 @@
|
||||||
<a href="https://git.fwdekker.com/FWDekker/converter/src/branch/master/LICENSE">MIT License</a>.
|
<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>.
|
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>
|
</section>
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
|
@ -211,11 +211,6 @@
|
||||||
constructor(name) {
|
constructor(name) {
|
||||||
super(name, new Base64NumeralSystem(Base64NumeralSystem.defaultAlphabet()));
|
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 = document.createElement("select");
|
||||||
this.dropdown.id = `${this.name}Dropdown`;
|
this.dropdown.id = `${this.name}Dropdown`;
|
||||||
this.dropdown.onchange = () => {
|
this.dropdown.onchange = () => {
|
||||||
|
@ -247,7 +242,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
addToParent(parent) {
|
addToParent(parent) {
|
||||||
this.dropdownDiv.appendChild(this.dropdownLabel);
|
|
||||||
this.options.forEach(option => this.dropdown.appendChild(option));
|
this.options.forEach(option => this.dropdown.appendChild(option));
|
||||||
this.dropdownDiv.appendChild(this.dropdown);
|
this.dropdownDiv.appendChild(this.dropdown);
|
||||||
parent.appendChild(this.dropdownDiv);
|
parent.appendChild(this.dropdownDiv);
|
||||||
|
|
Loading…
Reference in New Issue