diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 9330c75..8b2f1fe 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -482,7 +482,7 @@ // the the last - and get the id let inputID = target.id.slice(0, target.id.lastIndexOf('-')); - let filamentID = target.id.slice(inputID.lastIndexOf('-') + 1); + let filamentID = target.id.slice(target.id.lastIndexOf('-') + 1); console.log("input.id", target.id, "inputID", inputID, "filamentID", filamentID);