diff --git a/app/scripts/auto-type/auto-type-runner.js b/app/scripts/auto-type/auto-type-runner.js index 3c8de8e5..44ee80f3 100644 --- a/app/scripts/auto-type/auto-type-runner.js +++ b/app/scripts/auto-type/auto-type-runner.js @@ -156,7 +156,7 @@ AutoTypeRunner.prototype.tryParseCommand = function(op) { if (isNaN(+op.arg)) { throw 'Bad delay: ' + op.arg; } - if (op.arg <= 0) { + if (op.arg < 0) { throw 'Delay requires positive interval'; } op.arg = +op.arg;