Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 78c2d5a

Browse files
Fix usablica#108 - fix Firefox bug by focusing on "Next" button, so that hitting Enter moves you to the next step
1 parent 52af37d commit 78c2d5a

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

intro.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@
419419
skipTooltipButton.innerHTML = this._options.skipLabel;
420420
}
421421

422+
//Set focus on "next" button, so that hitting Enter always moves you onto the next step
423+
nextTooltipButton.focus();
424+
422425
//add target element position style
423426
targetElement.element.className += ' introjs-showElement';
424427

0 commit comments

Comments
 (0)