Skip to content

Commit

Permalink
Preserve offset values in progress tracking events parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
clarissedmn committed Jan 8, 2025
1 parent 5d148f7 commit a019a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/creative_linear_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export function parseCreativeLinear(creativeElement, creativeAttributes) {
if (offset.charAt(offset.length - 1) === '%') {
eventName = `progress-${offset}`;
} else {
eventName = `progress-${Math.round(
eventName = `progress-${
parserUtils.parseDuration(offset)
)}`;
}`;
}
}

Expand Down

0 comments on commit a019a76

Please sign in to comment.