diff options
author | Sam Potts <me@sampotts.me> | 2017-11-23 12:57:43 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2017-11-23 12:57:43 +1100 |
commit | de6f0f1b778180f7b26f85f45053ffb97eb526af (patch) | |
tree | 623b0f29466fa2bfb714e04a48fd111b7932730d /src/js/ui.js | |
parent | 7382553a7857bb9888cfb2ea353c57b185082441 (diff) | |
download | plyr-de6f0f1b778180f7b26f85f45053ffb97eb526af.tar.lz plyr-de6f0f1b778180f7b26f85f45053ffb97eb526af.tar.xz plyr-de6f0f1b778180f7b26f85f45053ffb97eb526af.zip |
Updated data attributes to `data-plyr` namespace. Speed menu fixes
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 7 |
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) { |