shx-3d-render
parent
8af7c39062
commit
6459d03c45
|
@ -444,7 +444,7 @@
|
|||
|
||||
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' : ''}>
|
||||
<label for="${inputID}-${swatch}" style="background-color: #eee; background: url('${swatchObj.imgUrl}')">
|
||||
<label for="${inputID}-${swatch}" style="background-color: #eee; background: url('${swatchObj.imgUrl}'); background-size: cover;">
|
||||
`;
|
||||
|
||||
html += `</label>`;
|
||||
|
|
Loading…
Reference in New Issue