From 5a27b8450394f8b95d9b13139d7abff883b43fa2 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 7 Dec 2008 12:03:48 -0500 Subject: [PATCH] String.replace needs a second arg... --- common/content/liberator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index 8e70c6e2..d9c89cb5 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -852,7 +852,7 @@ const liberator = (function () //{{{ if (err) return liberator.echoerr(err); - commandline.command = str.replace(/^\s*:\s*/); + commandline.command = str.replace(/^\s*:\s*/, ""); command.execute(args, special, count, modifiers); },