Skip to content

Commit fbc7cfb

Browse files
committed
Fix bug in skip/exit button
1 parent c915bcd commit fbc7cfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intro.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Intro.js v0.3.0
2+
* Intro.js v0.4.0
33
* https://github.com/usablica/intro.js
44
* MIT licensed
55
*
@@ -19,7 +19,7 @@
1919
}
2020
} (this, function (exports) {
2121
//Default config/variables
22-
var VERSION = '0.3.0';
22+
var VERSION = '0.4.0';
2323

2424
/**
2525
* IntroJs main class
@@ -367,7 +367,7 @@
367367
skipTooltipButton.innerHTML = this._options.skipLabel;
368368

369369
skipTooltipButton.onclick = function() {
370-
_exitIntro.call(self, self._targetElement.element);
370+
_exitIntro.call(self, self._targetElement);
371371
};
372372

373373
var tooltipButtonsLayer = tooltipLayer.querySelector('.introjs-tooltipbuttons');

0 commit comments

Comments
 (0)