From a1b818f0c57ef1e760b5e26c6489bf4be4dab92c Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 9 Nov 2017 08:39:25 +0800 Subject: [PATCH] Fix: invalid default value for dropdown --- js/usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/usercss.js b/js/usercss.js index 61fc84e6..b6ab0872 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -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);