From 4115705d8f2240f6907c4d08802f978ff7b41e47 Mon Sep 17 00:00:00 2001 From: eight Date: Mon, 9 Oct 2017 02:45:11 +0800 Subject: [PATCH] Fix: uso replace doesn't work on var select --- js/usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/usercss.js b/js/usercss.js index 3bc254e6..9e2f96c4 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -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);