Fix: invalid default value for dropdown
This commit is contained in:
parent
f86d0fc2e7
commit
a1b818f0c5
|
@ -188,7 +188,7 @@ var usercss = (() => {
|
||||||
}
|
}
|
||||||
state.re.lastIndex++;
|
state.re.lastIndex++;
|
||||||
eatWhitespace(state);
|
eatWhitespace(state);
|
||||||
result.default = result.options[0].value;
|
result.default = result.options[0].name;
|
||||||
} else {
|
} else {
|
||||||
// text, color
|
// text, color
|
||||||
parseStringToEnd(state);
|
parseStringToEnd(state);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user