diff --git a/app/frontend/templates/panel/server_schedule_edit.html b/app/frontend/templates/panel/server_schedule_edit.html index c85c4c35..ebded95e 100644 --- a/app/frontend/templates/panel/server_schedule_edit.html +++ b/app/frontend/templates/panel/server_schedule_edit.html @@ -273,7 +273,7 @@ if ($("#difficulty").val() == "reaction"){ formDataObject.interval_type = "reaction"; } - if ($("action").val() != "command"){ + if ($("#action").val() != "command"){ formDataObject.command = formDataObject.action + "_server"; } if (formDataObject.cron_string != ""){