Skip to content

Commit 11ff1a7

Browse files
authored
Update intro.js
1 parent 5381ec7 commit 11ff1a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

intro.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,9 @@
889889
//reset button focus
890890
if (nextTooltipButton.tabIndex === -1) {
891891
//tabindex of -1 means we are at the end of the tour - focus on skip / done
892-
skipTooltipButton.focus();
892+
if (skipTooltipButton) {
893+
skipTooltipButton.focus();
894+
}
893895
} else {
894896
//still in the tour, focus on next
895897
nextTooltipButton.focus();

0 commit comments

Comments
 (0)