Skip to content

Commit d3059b0

Browse files
authored
Merge pull request usablica#927 from kirillovarchi/master
Fixed calculating tooltip bottom position
2 parents b46bbcd + 56a8f5e commit d3059b0

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
@@ -816,7 +816,7 @@
816816
*/
817817

818818
// Check for space below
819-
if (targetElementRect.bottom + tooltipHeight + tooltipHeight > windowSize.height) {
819+
if (targetElementRect.bottom + tooltipHeight > windowSize.height) {
820820
_removeEntry(possiblePositions, "bottom");
821821
}
822822

0 commit comments

Comments
 (0)