From 514da8396185d14b608efaeed64c20a494cbb517 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 28 Jan 2022 18:05:20 +0000 Subject: [PATCH] let inject optionally fire at start in only at time mode. --- .../@node-red/nodes/core/common/20-inject.html | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/common/20-inject.html b/packages/node_modules/@node-red/nodes/core/common/20-inject.html index f233c62fd..6d338df00 100644 --- a/packages/node_modules/@node-red/nodes/core/common/20-inject.html +++ b/packages/node_modules/@node-red/nodes/core/common/20-inject.html @@ -370,13 +370,6 @@ var id = $("#inject-time-type-select").val(); $(".inject-time-row").hide(); $("#inject-time-row-"+id).show(); - if ((id == "none") || (id == "interval") || (id == "interval-time")) { - $("#node-once").show(); - } - else { - $("#node-once").hide(); - $("#node-input-once").prop('checked', false); - } // Scroll down var scrollDiv = $("#dialog-form").parent();