aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-01-22 23:39:09 +1100
committerSam Potts <sam@potts.es>2018-01-22 23:39:09 +1100
commitebf53d14b12c025b6c2f37a887a55e2bf7ab3b7d (patch)
tree5de42abba738b27100fbc5c63f821d7c7979c9a0 /src/js/utils.js
parentb298587c0b8c76bcf85a112585f7a9a4c1100eb8 (diff)
downloadplyr-ebf53d14b12c025b6c2f37a887a55e2bf7ab3b7d.tar.lz
plyr-ebf53d14b12c025b6c2f37a887a55e2bf7ab3b7d.tar.xz
plyr-ebf53d14b12c025b6c2f37a887a55e2bf7ab3b7d.zip
Small tweaks
Diffstat (limited to 'src/js/utils.js')
-rw-r--r--src/js/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/utils.js b/src/js/utils.js
index abc2a89a..155dc087 100644
--- a/src/js/utils.js
+++ b/src/js/utils.js
@@ -614,7 +614,7 @@ const utils = {
formatTime(time = 0, displayHours = false, inverted = false) {
// Bail if the value isn't a number
if (!utils.is.number(time)) {
- return;
+ return this.formatTime(null, displayHours, inverted);
}
// Format time component to add leading zero