Skip to content

Commit 7918e15

Browse files
committed
Fix onbeforechange event bug, related to usablica#157 and usablica#152
1 parent 71a5b19 commit 7918e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
}
199199

200200
if (typeof (this._introBeforeChangeCallback) !== 'undefined') {
201-
this._introBeforeChangeCallback.call(this, this._targetElement);
201+
this._introBeforeChangeCallback.call(this, this._targetElement.element);
202202
}
203203

204204
_showElement.call(this, this._introItems[--this._currentStep]);

0 commit comments

Comments
 (0)