Spaces:
Running
Running
Commit ·
49664c5
1
Parent(s): 56e5321
Move 'Add new voice' to the top of the picker
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -1547,10 +1547,10 @@ window.toggleVoicePicker = async function(e) {
|
|
| 1547 |
</button>
|
| 1548 |
`).join("")}` : "";
|
| 1549 |
|
| 1550 |
-
picker.innerHTML =
|
| 1551 |
-
<button class="voice-picker-item" onclick="event.stopPropagation();closePickerAndAdd()" style="border-
|
| 1552 |
+ Add new voice
|
| 1553 |
-
</button>`;
|
| 1554 |
picker.classList.add("visible");
|
| 1555 |
};
|
| 1556 |
|
|
|
|
| 1547 |
</button>
|
| 1548 |
`).join("")}` : "";
|
| 1549 |
|
| 1550 |
+
picker.innerHTML = `
|
| 1551 |
+
<button class="voice-picker-item" onclick="event.stopPropagation();closePickerAndAdd()" style="border-bottom:1px solid var(--border);margin-bottom:4px;font-weight:500">
|
| 1552 |
+ Add new voice
|
| 1553 |
+
</button>` + voicesHtml + presetsHtml;
|
| 1554 |
picker.classList.add("visible");
|
| 1555 |
};
|
| 1556 |
|