diff --git a/octoprint_klipper/static/js/klipper_param_macro.js b/octoprint_klipper/static/js/klipper_param_macro.js index db55554..fc305be 100644 --- a/octoprint_klipper/static/js/klipper_param_macro.js +++ b/octoprint_klipper/static/js/klipper_param_macro.js @@ -65,8 +65,7 @@ $(function() { expanded = "[\"" + expanded + "\"]" expanded = expanded.replace(/(?:\r\n|\r|\n)/g, "\",\""); -// OctoPrint.control.sendGcode(expanded); - OctoPrint.control.sendGcode(["G28","G28"]) + OctoPrint.control.sendGcode(expanded); } }