diff options
author | Sam Potts <sam@potts.es> | 2018-01-22 23:20:03 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-01-22 23:20:03 +1100 |
commit | b298587c0b8c76bcf85a112585f7a9a4c1100eb8 (patch) | |
tree | fc36db859f126b5eda753f97d5aea28e7b2c0454 /src/js/ui.js | |
parent | 26e9aaceb8ad26a4a7edfcbd119d31745e02fcb0 (diff) | |
download | plyr-b298587c0b8c76bcf85a112585f7a9a4c1100eb8.tar.lz plyr-b298587c0b8c76bcf85a112585f7a9a4c1100eb8.tar.xz plyr-b298587c0b8c76bcf85a112585f7a9a4c1100eb8.zip |
Bug fix
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index d5d224a1..14724fc6 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -293,7 +293,7 @@ const ui = { // Update the displayed time updateTimeDisplay(target = null, time = 0, inverted = false) { // Bail if there's no element to display or the value isn't a number - if (!utils.is.element(target)) { + if (!utils.is.element(target) || !utils.is.number(time)) { return; } |