Skip to content

Commit

Permalink
Merge pull request #9 from Borrajo/master
Browse files Browse the repository at this point in the history
Add support to IE11
  • Loading branch information
lukbukkit authored May 5, 2020
2 parents 9044f9b + 9a7a39c commit 6de0d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/chartist-plugin-tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@
}
} else {
var offsetBox = $tooltipOffsetParent.getBoundingClientRect();
var allOffsetLeft = -offsetBox.left - window.scrollX + offsetX;
var allOffsetTop = -offsetBox.top - window.scrollY + offsetY;
var allOffsetLeft = -offsetBox.left - window.pageXOffset + offsetX;
var allOffsetTop = -offsetBox.top - window.pageYOffset + offsetY;

if (anchor) {
var box = $chart.getBoundingClientRect();
Expand Down

0 comments on commit 6de0d43

Please sign in to comment.