@rogieking/figui3 1.0.52 → 1.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/fig.js +1 -1
  2. package/package.json +1 -1
package/fig.js CHANGED
@@ -121,7 +121,7 @@ class FigDropdown extends HTMLElement {
121
121
  this.select.appendChild(hiddenOption);
122
122
  }
123
123
  this.optionsSlot.assignedNodes().forEach((option) => {
124
- if (option.nodeName === "OPTION") {
124
+ if (option.nodeName === "OPTION" || option.nodeName === "OPTGROUP") {
125
125
  if (option.hasAttribute("value") && option.hasAttribute("selected")) {
126
126
  this.value = option.getAttribute("value");
127
127
  }
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.52"
3
+ "version": "1.0.53"
4
4
  }