Skip to content

Commit f65a5ad

Browse files
author
Alexandre-io
committed
fix(codacy): codacy recommandations
1 parent a20760f commit f65a5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/introduction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
tooltipLayer.className = ('introjs-tooltip ' + tooltipCssClass).replace(/^\s+|\s+$/g, '');
503503

504504
currentTooltipPosition = this._introItems[this._currentStep].position;
505-
if ((currentTooltipPosition === "auto" || this._options.tooltipPosition == "auto")) {
505+
if ((currentTooltipPosition === "auto" || this._options.tooltipPosition === "auto")) {
506506
if (currentTooltipPosition !== "floating") { // Floating is always valid, no point in calculating
507507
currentTooltipPosition = _determineAutoPosition.call(this, targetElement, tooltipLayer, currentTooltipPosition);
508508
}

0 commit comments

Comments
 (0)