solid-ui 3.0.4-e2611ae → 3.0.4-f1ffeff

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.
package/dist/solid-ui.js CHANGED
@@ -8278,13 +8278,11 @@ field[src_ns.ui('Classifier').uri] = function (dom, container, already, subject,
8278
8278
  selectBox.setAttribute('class', 'formFieldValue classifierBox-selectBox');
8279
8279
  var selectElement = makeSelectForNestedCategory(dom, kb, subject, category, dataDoc, checkOptions);
8280
8280
  // Set readonly if not editable
8281
- if (selectElement && selectElement.querySelectorAll) {
8282
- var selects = selectElement.querySelectorAll('select');
8283
- if (selects.length && !kb.updater.editable(dataDoc.uri)) {
8284
- selects.forEach(function (select) {
8285
- select.readOnly = true;
8286
- select.style = style.textInputStyleUneditable;
8287
- });
8281
+ if (selectElement && selectElement.querySelector && selectElement.querySelector('select')) {
8282
+ var select = selectElement.querySelector('select');
8283
+ if (select && !kb.updater.editable(dataDoc.uri)) {
8284
+ select.readOnly = true;
8285
+ select.style = style.textInputStyleUneditable;
8288
8286
  }
8289
8287
  }
8290
8288
  selectBox.appendChild(selectElement);