aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui.js')
-rw-r--r--src/js/ui.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/js/ui.js b/src/js/ui.js
index 3ae974c3..3ab3a1eb 100644
--- a/src/js/ui.js
+++ b/src/js/ui.js
@@ -302,12 +302,7 @@ const ui = {
const invert = !utils.is.htmlElement(this.elements.display.duration) && this.config.invertTime;
// Duration
- ui.updateTimeDisplay.call(
- this,
- this.elements.display.currentTime,
- invert ? this.duration - this.currentTime : this.currentTime,
- invert
- );
+ ui.updateTimeDisplay.call(this, this.elements.display.currentTime, invert ? this.duration - this.currentTime : this.currentTime, invert);
// Ignore updates while seeking
if (event && event.type === 'timeupdate' && this.media.seeking) {