From 96d1015621347d805eee42115c0162c0affd1c5d Mon Sep 17 00:00:00 2001 From: Cort Date: Mon, 29 Jan 2024 23:56:35 +0800 Subject: [PATCH] Bug fix --- public/js/ev3dev2_generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/ev3dev2_generator.js b/public/js/ev3dev2_generator.js index b817b02..fec51bd 100644 --- a/public/js/ev3dev2_generator.js +++ b/public/js/ev3dev2_generator.js @@ -378,7 +378,7 @@ var ev3dev2_generator = new function() { } else if (dropdown_unit2 == 'SECONDS') { var cmdStr = 'on_for_seconds'; var durationStr = value_duration; - } else if (dropdown_units2 == 'MILLISECONDS') { + } else if (dropdown_unit2 == 'MILLISECONDS') { var cmdStr = 'on_for_seconds'; var durationStr = value_duration + ' / 1000'; }