diff --git a/content/ui.js b/content/ui.js index 367a3c11..302be48a 100644 --- a/content/ui.js +++ b/content/ui.js @@ -499,7 +499,7 @@ function CommandLine() //{{{ // TODO: allow for escaping the "," try { - new RegExp("^(" + value.join("|") + ")$"); + RegExp("^(" + values.join("|") + ")$"); return true; } catch (e)