shx-3d-render

main
Jan Umbach 2024-06-23 13:48:33 +02:00
parent 3cc444372e
commit 28b6867300
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@
html += ` html += `
<input type="radio" id="${inputID}-${swatch}" class="shx-ifc-swatchselect-input" form="product-form-${section_id}" name="properties[${inputName}]" value="${swatchObj.name}" ${inputVal === swatch ? 'checked' : ''}> <input type="radio" id="${inputID}-${swatch}" class="shx-ifc-swatchselect-input" form="product-form-${section_id}" name="properties[${inputName}]" value="${swatchObj.name}" ${inputVal === swatch ? 'checked' : ''}>
<label for="${inputID}-${swatch}" style="background-color: #eee;"> <label for="${inputID}-${swatch}" style="background-color: #eee; background: url("${swatchObj.imgUrl}")">
`; `;
html += `</label>`; html += `</label>`;