Skip to content

Commit

Permalink
fix(animations): getAnimationStyle causes exceptions in older browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Serginho committed Apr 4, 2019
1 parent 699ecac commit 6a6e992
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -134,7 +134,7 @@ function setAnimationStyle(element: any, name: string, value: string, index?: nu
}

function getAnimationStyle(element: any, name: string) {
return element.style[ANIMATION_PROP + name];
return element.style[ANIMATION_PROP + name] | '';
}

function countChars(value: string, char: string): number {
Expand Down

0 comments on commit 6a6e992

Please sign in to comment.