@innovastudio/contentbuilder 1.1.9 → 1.1.10

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/contentbuilder",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "",
5
5
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
6
  "files": [
@@ -6605,6 +6605,7 @@ class Dom {
6605
6605
 
6606
6606
 
6607
6607
  hasClass(element, className) {
6608
+ if (!element.className) return false;
6608
6609
  return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;
6609
6610
  }
6610
6611