diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-23 22:38:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-23 22:38:02 +0200 |
commit | 4190e31626907059aebf32b1be66715dacb989a9 (patch) | |
tree | bc5016e4c5047cd23d0a89b7505109e12b04a380 /app/javascript/mastodon/features/video/index.js | |
parent | 73ca0bb925cb036f824262ab292a157a40a515d0 (diff) |
Add audio player (#11644)
Diffstat (limited to 'app/javascript/mastodon/features/video/index.js')
-rw-r--r-- | app/javascript/mastodon/features/video/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js index da48c165e..5fe4e956f 100644 --- a/app/javascript/mastodon/features/video/index.js +++ b/app/javascript/mastodon/features/video/index.js @@ -21,7 +21,7 @@ const messages = defineMessages({ exit_fullscreen: { id: 'video.exit_fullscreen', defaultMessage: 'Exit full screen' }, }); -const formatTime = secondsNum => { +export const formatTime = secondsNum => { let hours = Math.floor(secondsNum / 3600); let minutes = Math.floor((secondsNum - (hours * 3600)) / 60); let seconds = secondsNum - (hours * 3600) - (minutes * 60); |