Fix: uso replace doesn't work on var select

This commit is contained in:
eight 2017-10-09 02:45:11 +08:00
parent c0378e3f05
commit 4115705d8f

View File

@ -78,7 +78,7 @@ var usercss = (function () {
}
return null;
}
if (vars[name].type === 'dropdown') {
if (vars[name].type === 'dropdown' || vars[name].type === 'select') {
// prevent infinite recursion
pool.set(name, '');
return doReplace(vars[name].value);