From 48d3b8f37a50458906a48b30d4a736e112ee621e Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 27 Oct 2014 19:40:50 +0000 Subject: [PATCH] Inject node interval error part two of #455 --- nodes/core/core/20-inject.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/core/20-inject.html b/nodes/core/core/20-inject.html index e3ecd245a..66609f3e5 100644 --- a/nodes/core/core/20-inject.html +++ b/nodes/core/core/20-inject.html @@ -232,7 +232,7 @@ var r = "s"; var c = this.repeat; if (this.repeat % 60 === 0) { r = "m"; c = c/60; } - if (this.repeat % 1440 === 0) { r = "h"; c = c/24; } + if (this.repeat % 1440 === 0) { r = "h"; c = c/60; } $("#inject-time-interval-count").val(c); $("#inject-time-interval-units").val(r); //$("#inject-time-interval-units option").filter(function() {return $(this).val() == "s";}).attr('selected',true);