aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index 8a160864..3f720925 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -539,7 +539,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 => {