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