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