remove nbsp from empty subtitle li's so it pushes up to the top
This commit is contained in:
@@ -80,12 +80,12 @@ function change_video_speed(speed, youtube_id) {
|
||||
|
||||
function caption_at(index) {
|
||||
if (captions==0)
|
||||
return " ";
|
||||
return "";
|
||||
|
||||
text_array=captions.text
|
||||
|
||||
if ((index>=text_array.length) || (index < 0))
|
||||
return " ";
|
||||
return "";
|
||||
return text_array[index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user