Fix: invalid default value for dropdown

This commit is contained in:
eight 2017-11-09 08:39:25 +08:00
parent f86d0fc2e7
commit a1b818f0c5

View File

@ -188,7 +188,7 @@ var usercss = (() => {
}
state.re.lastIndex++;
eatWhitespace(state);
result.default = result.options[0].value;
result.default = result.options[0].name;
} else {
// text, color
parseStringToEnd(state);