diff --git a/src/components/ripple/Ripple.js b/src/components/ripple/Ripple.js index 3ba4729dd..1f1fffc3e 100644 --- a/src/components/ripple/Ripple.js +++ b/src/components/ripple/Ripple.js @@ -54,7 +54,7 @@ function onAnimationEnd(event) { function getInk(el) { for (let i = 0; i < el.children.length; i++) { - if (el.children[i].className.indexOf('p-ink') !== -1) { + if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) { return el.children[i]; } }