diff --git a/src/htmx.js b/src/htmx.js index 389f3fce2..211aa47f0 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -1186,7 +1186,7 @@ var htmx = (function() { } if (unprocessedParts.length > 0) { - selector = unprocessedParts.join(',') + const selector = unprocessedParts.join(',') result.push(...toArray(asParentNode(getRootNode(elt, global)).querySelectorAll(selector))) }