diff --git a/intro.js/intro.js-tests.ts b/intro.js/intro.js-tests.ts index 46efe8844..a3e5c0e4d 100644 --- a/intro.js/intro.js-tests.ts +++ b/intro.js/intro.js-tests.ts @@ -63,7 +63,7 @@ intro.start() alert('Hints added'); }) .onhintclick(function (hintElement, item, stepId) { - element.getAttribute('class'); + hintElement.getAttribute('class'); }) .onhintclose(function (stepId) { alert('Hint close for Step ID ' + stepId);