Skip to content

Commit 443a1b1

Browse files
committed
tooltip.js: fix alignment
1 parent c15fffc commit 443a1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
var containerDim = this.getPosition($container)
193193

194194
placement = placement == 'bottom' && pos.top + pos.height + actualHeight - containerDim.scroll > containerDim.height ? 'top' :
195-
placement == 'top' && pos.top - containerDim.scroll - actualHeight < containerDim.top ? 'bottom' :
195+
placement == 'top' && pos.top - containerDim.scroll - actualHeight < containerDim.top ? 'bottom' :
196196
placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
197197
placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
198198
placement

0 commit comments

Comments
 (0)