Commit 64648958 by Ernie Park

remove nbsp from empty subtitle li's so it pushes up to the top

parent 475f30a2
...@@ -80,12 +80,12 @@ function change_video_speed(speed, youtube_id) { ...@@ -80,12 +80,12 @@ function change_video_speed(speed, youtube_id) {
function caption_at(index) { function caption_at(index) {
if (captions==0) if (captions==0)
return " "; return "";
text_array=captions.text text_array=captions.text
if ((index>=text_array.length) || (index < 0)) if ((index>=text_array.length) || (index < 0))
return "&nbsp;"; return "";
return text_array[index]; return text_array[index];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment