@innovastudio/contentbox 1.2.7 → 1.2.8

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": "@innovastudio/contentbox",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
@@ -40,7 +40,7 @@
40
40
  "webpack-dev-server": "^4.0.0"
41
41
  },
42
42
  "dependencies": {
43
- "@innovastudio/contentbuilder": "^1.1.9",
43
+ "@innovastudio/contentbuilder": "^1.1.10",
44
44
  "axios": "^0.21.4",
45
45
  "cors": "^2.8.5",
46
46
  "express": "^4.17.1",
@@ -17115,6 +17115,7 @@ class Dom {
17115
17115
 
17116
17116
 
17117
17117
  hasClass(element, className) {
17118
+ if (!element.className) return false;
17118
17119
  return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;
17119
17120
  }
17120
17121