From 8cb8f8812798fc4196fac7817e60036e175f81a0 Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Fri, 21 Jun 2024 23:46:42 +0200 Subject: [PATCH] shx-3d-render --- snippets/shx-3d-render-input.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);