We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8499dc4 commit 74dc93fCopy full SHA for 74dc93f
intro.js
@@ -98,7 +98,7 @@
98
nextStepButton = targetElm.querySelector('.introjs-nextbutton');
99
100
self._onKeyDown = function(e) {
101
- if (e.keyCode === 27 && self._options.exitOnEsc) {
+ if (e.keyCode === 27 && self._options.exitOnEsc == true) {
102
//escape key pressed, exit the intro
103
_exitIntro.call(self, targetElm);
104
} else if(e.keyCode === 37) {
@@ -532,7 +532,7 @@
532
targetElm.appendChild(overlayLayer);
533
534
overlayLayer.onclick = function() {
535
- if(self._options.exitOnOverlayClick) {
+ if(self._options.exitOnOverlayClick == true) {
536
537
}
538
};
0 commit comments