use local variable
This commit is contained in:
parent
61078d3c16
commit
e947516896
|
@ -75,7 +75,7 @@ $(document).ready(function() {
|
|||
}, 100);
|
||||
}
|
||||
$('.srt').each(function() {
|
||||
subtitleElement = $(this);
|
||||
var subtitleElement = $(this);
|
||||
var videoId = subtitleElement.attr('data-video');
|
||||
if(!videoId) return;
|
||||
var srtUrl = subtitleElement.attr('data-srt');
|
||||
|
|
Loading…
Reference in New Issue
Block a user