diff --git a/src/interact.js b/src/interact.js index 25b338f..b2d857e 100644 --- a/src/interact.js +++ b/src/interact.js @@ -88,10 +88,10 @@ this.currentPageX = e.pageX; this.currentPageY = e.pageY; this.currentEl = e.target; + this.updateDisplay(); if (this.tooltip) { this.tooltip.updatePosition(e.pageX, e.pageY); } - this.updateDisplay(); }, updateDisplay: function () {