1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

show pricing and better title format

This commit is contained in:
Laura
2025-09-30 22:25:01 +02:00
parent bb8b333efa
commit 592262f95c
4 changed files with 54 additions and 6 deletions

View File

@@ -168,6 +168,7 @@
#render() {
if (this.#selected === false) {
this.#_selected.title = "";
this.#_selected.innerHTML = "";
return;
@@ -175,6 +176,7 @@
const selection = this.#options[this.#selected];
this.#_selected.title = selection.title;
this.#_selected.innerHTML = selection.el.innerHTML;
}