@mjhls/mjh-framework 1.0.917 → 1.0.918

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # mjh-framework v. 1.0.917
1
+ # mjh-framework v. 1.0.918
2
2
 
3
3
  [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
4
 
@@ -352,7 +352,7 @@ var NavMagazine = function NavMagazine(props) {
352
352
  if (searchBar && searchBar.classList) {
353
353
  searchBar.classList.remove('show');
354
354
  }
355
- if (searchBtn && searchBtn[0].classList) {
355
+ if (searchBtn && searchBtn[0] && searchBtn[0].classList) {
356
356
  searchBtn[0].classList.remove('active-search');
357
357
  }
358
358
  }
@@ -340,7 +340,7 @@ var NavMagazine = function NavMagazine(props) {
340
340
  if (searchBar && searchBar.classList) {
341
341
  searchBar.classList.remove('show');
342
342
  }
343
- if (searchBtn && searchBtn[0].classList) {
343
+ if (searchBtn && searchBtn[0] && searchBtn[0].classList) {
344
344
  searchBtn[0].classList.remove('active-search');
345
345
  }
346
346
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.917",
3
+ "version": "1.0.918",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",