aboutsummaryrefslogtreecommitdiffstats
path: root/every.js
diff options
context:
space:
mode:
Diffstat (limited to 'every.js')
-rw-r--r--every.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/every.js b/every.js
index 24a9c2f..94e5544 100644
--- a/every.js
+++ b/every.js
@@ -155,7 +155,7 @@ let PLUGIN_INFO =
liberator.modules.commands.addUserCommand(
['delay'],
'delay',
- function (arg, bang, count) {
+ function (arg) {
let cmd = arg.string;
let f = function () {
if (liberator.mode == liberator.modules.modes.COMMAND_LINE) {
@@ -164,7 +164,7 @@ let PLUGIN_INFO =
liberator.execute(cmd);
}
};
- setTimeout(f, msec(count));
+ setTimeout(f, msec(arg.count));
},
{
count: true,