mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Changed style of unitinfopanel
This commit is contained in:
@@ -13,6 +13,8 @@ export class Dropdown {
|
||||
this.#container?.addEventListener("click", () => {
|
||||
this.#open ? this.close() : this.open();
|
||||
})
|
||||
if (this.#container != null && this.#options.length > 0)
|
||||
this.#container.innerHTML = this.#options[0];
|
||||
}
|
||||
|
||||
open() {
|
||||
|
||||
@@ -10,7 +10,7 @@ export class UnitInfoPanel {
|
||||
this.#display = '';
|
||||
if (this.#element != null) {
|
||||
this.#display = this.#element.style.display;
|
||||
this.hide();
|
||||
this.show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user