1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-13 09:30:53 +00:00
* Fixed: Bug when changing a setting using a select-box input.
This commit is contained in:
SirStendec 2020-02-09 15:19:13 -05:00
parent 42a48c56c6
commit cef1520d66
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"name": "frankerfacez",
"author": "Dan Salvato LLC",
"version": "4.18.3",
"version": "4.18.4",
"description": "FrankerFaceZ is a Twitch enhancement suite.",
"license": "Apache-2.0",
"scripts": {

View file

@ -26,6 +26,7 @@
v-for="j in i.entries"
:key="j.value"
:selected="j.value === value"
:value="j.v"
>
{{ j.i18n_key ? t(j.i18n_key, j.title, j) : j.title }}
</option>
@ -34,6 +35,7 @@
v-else
:key="i.value"
:selected="i.value === value"
:value="i.v"
>
{{ i.i18n_key ? t(i.i18n_key, i.title, i) : i.title }}
</option>
@ -104,9 +106,9 @@ export default {
out.push(current_group);
} else if ( current_group != null )
current_group.entries.push(entry);
current_group.entries.push(Object.assign({v: i}, entry));
else
out.push(entry);
out.push(Object.assign({v: i}, entry));
i++;
}
@ -117,7 +119,7 @@ export default {
methods: {
onChange() {
const idx = this.$refs.control.selectedIndex,
const idx = this.$refs.control.value,
raw_value = this.data[idx];
if ( raw_value )