From f8bf2fc37cfc003b407ae5b888eb93ab6dd9d21a Mon Sep 17 00:00:00 2001 From: getsnoopy Date: Sun, 24 Apr 2022 22:00:57 -0500 Subject: [PATCH] Fix some formatting issues This commit fixes some playback UI formatting so that it uses grammatically correct text and the proper symbol for a unit. --- assets/js/runeui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/runeui.js b/assets/js/runeui.js index 3fac4034..03d95f50 100755 --- a/assets/js/runeui.js +++ b/assets/js/runeui.js @@ -546,7 +546,7 @@ function refreshState() { } else { $('#total').html((GUI.json.time !== undefined)? timeConvert(GUI.json.time) : '00:00'); } - var fileinfo = (GUI.json.audio_channels && GUI.json.audio_sample_depth && GUI.json.audio_sample_rate) ? (GUI.json.audio_channels + ', ' + GUI.json.audio_sample_depth + ' bit, ' + GUI.json.audio_sample_rate +' kHz, '+GUI.json.bitrate+' kbps') : ' '; + var fileinfo = (GUI.json.audio_channels && GUI.json.audio_sample_depth && GUI.json.audio_sample_rate) ? (GUI.json.audio_channels + ', ' + GUI.json.audio_sample_depth + '-bit, ' + GUI.json.audio_sample_rate +' kHz, '+GUI.json.bitrate+' kbit/s') : ' '; $('#format-bitrate').html(fileinfo); $('li', '#playlist-entries').removeClass('active'); var current = parseInt(GUI.json.song);