Skip to content

Commit 54ff1b1

Browse files
author
Yaron Nachshon
committed
bug fix
1 parent b95d7c4 commit 54ff1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intro.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
backdrop = backdrop || createBackdrop();
307307

308308
if(isFunction(step.intro)){
309-
intro = step.intro();
309+
intro = step.intro(step.template);
310310
}else{
311311
intro = step.intro;
312312
}
@@ -316,7 +316,7 @@
316316
hint.setTarget(step.element || $('body'));
317317
hint.setPosition(step.hintPosition);
318318
hint.setTooltipPosition(step.tooltipPosition);
319-
hint.setContent(step.intro);
319+
hint.setContent(intro);
320320
highlightElement(step.element);
321321
return hint.render();
322322
};

0 commit comments

Comments
 (0)