Skip to content

Commit

Permalink
fix(analytics-core): added dynamic length of attr key for slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
availity-bot committed Mar 15, 2019
1 parent 925c47e commit 18df607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/analytics-core/src/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class AvAnalytics {
!isValidEventTypeOnTarget(event);

getAnalyticAttrs = elem => {
if(!elem.attributes) {
if (!elem.attributes) {
return {};
}

Expand Down

0 comments on commit 18df607

Please sign in to comment.