Unable to test currently but this should resolve the issue.
This commit is contained in:
parent
71018f3ab0
commit
c9e8a2b76c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue