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:
@@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user