This commit is contained in:
Kovid Goyal 2021-04-13 12:10:08 +05:30
parent 10b20e55c1
commit 0e2e0ec55f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -205,7 +205,7 @@ class Client:
parent_div.appendChild(E.input(type='range', id=rate_id, min=(self.min_rate * 10) + '', max=(self.max_rate * 10) + '', value=((self.current_rate or 1) * 10) + '')) parent_div.appendChild(E.input(type='range', id=rate_id, min=(self.min_rate * 10) + '', max=(self.max_rate * 10) + '', value=((self.current_rate or 1) * 10) + ''))
parent_div.appendChild(E.div(_('Pick a voice below:'))) parent_div.appendChild(E.div(_('Pick a voice below:')))
parent_div.appendChild(select) parent_div.appendChild(select)
if select.options.selectedIndex?: if select.options.selectedIndex? and select.options[select.options.selectedIndex]:
select.options[select.options.selectedIndex].scrollIntoView() select.options[select.options.selectedIndex].scrollIntoView()
parent_div.appendChild(E.div( parent_div.appendChild(E.div(
style='margin: 1rem; display: flex; justify-content: space-between; align-items: flex-start', style='margin: 1rem; display: flex; justify-content: space-between; align-items: flex-start',