mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-03-29 11:29:52 +00:00
Typo fix: Containter -> Container
This commit is contained in:
committed by
MathMan05
parent
4c8ce52d3b
commit
37deda8679
@@ -1077,7 +1077,7 @@ class Options implements OptionsElement<void> {
|
||||
const container = this.container.deref();
|
||||
if (container) {
|
||||
if (this.isTop()) {
|
||||
this.generateContainter();
|
||||
this.generateContainer();
|
||||
} else if (this.owner instanceof Options) {
|
||||
this.owner.genTop();
|
||||
} else {
|
||||
@@ -1318,7 +1318,7 @@ class Options implements OptionsElement<void> {
|
||||
const container = document.createElement("div");
|
||||
this.container = new WeakRef(container);
|
||||
container.classList.add(this.ltr ? "flexltr" : "flexttb", "flexspace");
|
||||
this.generateContainter();
|
||||
this.generateContainer();
|
||||
div.append(container);
|
||||
return div;
|
||||
}
|
||||
@@ -1368,7 +1368,7 @@ class Options implements OptionsElement<void> {
|
||||
this.owner instanceof Float
|
||||
);
|
||||
}
|
||||
generateContainter() {
|
||||
generateContainer() {
|
||||
const container = this.container.deref();
|
||||
if (container) {
|
||||
container.innerHTML = "";
|
||||
@@ -1711,8 +1711,8 @@ class Form implements OptionsElement<object> {
|
||||
traditionalSubmit,
|
||||
});
|
||||
}
|
||||
generateContainter() {
|
||||
this.options.generateContainter();
|
||||
generateContainer() {
|
||||
this.options.generateContainer();
|
||||
if (this.options.isTop() && this.button && this.button.deref()) {
|
||||
(this.button.deref() as HTMLElement).hidden = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user