Merge branch 'Voice' of https://github.com/MathMan05/JankClient into Voice

This commit is contained in:
MathMan05
2024-10-26 16:18:24 -05:00
28 changed files with 2262 additions and 2574 deletions

View File

@@ -191,11 +191,17 @@ class Dialog{
case"select": {
const div = document.createElement("div");
const label = document.createElement("label");
const selectSpan = document.createElement("span");
selectSpan.classList.add("selectspan");
const select = document.createElement("select");
const selectArrow = document.createElement("span");
selectArrow.classList.add("svgicon","svg-category","selectarrow");
label.textContent = array[1];
selectSpan.append(select);
selectSpan.append(selectArrow);
div.append(label);
div.appendChild(select);
div.appendChild(selectSpan);
for(const thing of array[2]){
const option = document.createElement("option");
option.textContent = thing;