aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
authorAlbin Larsson <mail@albinlarsson.com>2018-05-12 00:02:05 +0200
committerAlbin Larsson <mail@albinlarsson.com>2018-05-12 00:10:39 +0200
commitf2fc3f5ea5c9df297f553b161fc0d6e5fa6f4ba5 (patch)
treead8e85f4d14b1455b6dbea49e2fb722a7dc367fa /src/js/controls.js
parent765c01e83dc4173d778538061a82e1973a8574f0 (diff)
downloadplyr-f2fc3f5ea5c9df297f553b161fc0d6e5fa6f4ba5.tar.lz
plyr-f2fc3f5ea5c9df297f553b161fc0d6e5fa6f4ba5.tar.xz
plyr-f2fc3f5ea5c9df297f553b161fc0d6e5fa6f4ba5.zip
Fix the seek tooltip time difference from seek time
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 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 => {