Skip to content

Commit

Permalink
Merge pull request #256 from SizeMeCom/add-size-selector-mfn
Browse files Browse the repository at this point in the history
Small fix for new size sel
  • Loading branch information
nomasi authored Dec 5, 2023
2 parents 5cfb691 + d706ea1 commit abcf084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/SizeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ class SwatchesListMFN extends AbstractSelect {
};

const options = element.querySelectorAll("li");
const mkSelectFn = (option) => () => option.click();
const mkSelectFn = (option) => () => option.querySelector("a").click();
for (let i = 0; i < options.length; i++) {
const option = options.item(i);
const sizeValue = option.querySelector("a").dataset.id;
Expand Down

0 comments on commit abcf084

Please sign in to comment.