Skip to content

Commit

Permalink
Merge pull request usablica#448 from traviswingo/bugfix/arrowLayer-logic
Browse files Browse the repository at this point in the history
only apply .introjs-arrow.left if the tooltip was not re-positioned
  • Loading branch information
afshinm committed Aug 25, 2015
2 parents ca545e3 + 052b432 commit a6d4415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,9 @@
// Modify so that the bottom of the tooltip connects with the target
arrowLayer.className = "introjs-arrow left-bottom";
tooltipLayer.style.top = "-" + (tooltipHeight - targetOffset.height - 20) + "px"
} else {
arrowLayer.className = 'introjs-arrow left';
}
arrowLayer.className = 'introjs-arrow left';
break;
case 'left':
if (this._options.showStepNumbers == true) {
Expand Down

0 comments on commit a6d4415

Please sign in to comment.