@checkflow/sdk 1.0.3 → 1.0.4
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/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3974,7 +3974,7 @@ class AnalyticsTracker {
|
|
|
3974
3974
|
if (element.id) {
|
|
3975
3975
|
return `#${element.id}`;
|
|
3976
3976
|
}
|
|
3977
|
-
if (element.className) {
|
|
3977
|
+
if (element.className && typeof element.className === 'string') {
|
|
3978
3978
|
const classes = element.className.trim().split(/\s+/);
|
|
3979
3979
|
return `${element.tagName.toLowerCase()}.${classes.join('.')}`;
|
|
3980
3980
|
}
|