shx-3d-render
parent
3cc444372e
commit
28b6867300
|
@ -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>`;
|
||||||
|
|
Loading…
Reference in New Issue