mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-26 07:39:04 +02:00
fix delay
This commit is contained in:
parent
b16f07b72c
commit
15b25c8395
|
@ -156,7 +156,7 @@ AutoTypeRunner.prototype.tryParseCommand = function(op) {
|
||||||
if (isNaN(+op.arg)) {
|
if (isNaN(+op.arg)) {
|
||||||
throw 'Bad delay: ' + op.arg;
|
throw 'Bad delay: ' + op.arg;
|
||||||
}
|
}
|
||||||
if (op.arg <= 0) {
|
if (op.arg < 0) {
|
||||||
throw 'Delay requires positive interval';
|
throw 'Delay requires positive interval';
|
||||||
}
|
}
|
||||||
op.arg = +op.arg;
|
op.arg = +op.arg;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user