1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-01 07:25:45 +01:00

String.replace needs a second arg...

This commit is contained in:
Kris Maglione
2008-12-07 12:03:48 -05:00
parent f10a9e1650
commit 5a27b84503

View File

@@ -852,7 +852,7 @@ const liberator = (function () //{{{
if (err) if (err)
return liberator.echoerr(err); return liberator.echoerr(err);
commandline.command = str.replace(/^\s*:\s*/); commandline.command = str.replace(/^\s*:\s*/, "");
command.execute(args, special, count, modifiers); command.execute(args, special, count, modifiers);
}, },