From 0b0739d3eb3c092f8dae2a21119d6075aa105ee3 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Wed, 17 Jul 2024 22:04:40 +0200 Subject: [PATCH] select with images --- 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 4ca2401..508cc25 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -615,7 +615,7 @@ // Add the selected style to the clicked item event.currentTarget.classList.add('shx-custom-enhanced-dropdown-font-selected'); - dropdownContent.style.display = 'none'; + document.getElementById("shx-custom-enhanced-dropdown-font-dropdown-content").style.display = 'none'; // const currentTargetImage = event.currentTarget.querySelector("img")