From f2fc3f5ea5c9df297f553b161fc0d6e5fa6f4ba5 Mon Sep 17 00:00:00 2001 From: Albin Larsson Date: Sat, 12 May 2018 00:02:05 +0200 Subject: Fix the seek tooltip time difference from seek time --- src/js/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js/controls.js') diff --git a/src/js/controls.js b/src/js/controls.js index ec64977e..5c7c592b 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -443,7 +443,7 @@ const controls = { // Calculate percentage let percent = 0; - const clientRect = this.elements.inputs.seek.getBoundingClientRect(); + const clientRect = this.elements.progress.getBoundingClientRect(); const visible = `${this.config.classNames.tooltip}--visible`; const toggle = toggle => { -- cgit v1.2.3