@ucd-lib/theme-elements 1.2.2 → 1.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucd-lib/theme-elements",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Custom elements for the UCD brand theme",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -138,10 +138,10 @@ export default class UcdlibPages extends LitElement {
138
138
  _select(value, child, attribute) {
139
139
  if( value ) {
140
140
  if( attribute ) child.setAttribute(attribute, attribute);
141
- else child.style.display = 'block';
141
+ child.style.display = 'block';
142
142
  } else {
143
143
  if( attribute ) child.removeAttribute(attribute, attribute);
144
- else child.style.display = 'none';
144
+ child.style.display = 'none';
145
145
  }
146
146
  }
147
147