Critical bugfix: Some statuses cause Javascript errors and prevent the timeline from further rendering
This commit is contained in:
parent
8d1394f54a
commit
660e6c46e6
|
@ -476,7 +476,7 @@ $('.overlay_redirect_invidious').removeClass('invisible');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function checkStatusLinks(text) {
|
function checkStatusLinks(text) {
|
||||||
$(text).find("a").each(function(i) {
|
$("<span>"+text+"</span>").find("a").each(function(i) {
|
||||||
const ytcom = $(this).attr('href').match(/https?:\/\/(www\.)?youtube\.com\/watch\?v=([a-zA-Z\d_-]+)/);
|
const ytcom = $(this).attr('href').match(/https?:\/\/(www\.)?youtube\.com\/watch\?v=([a-zA-Z\d_-]+)/);
|
||||||
const htcom = $(this).attr('href').match(/https?:\/\/(www\.)?hooktube\.com\/watch\?v=([a-zA-Z\d_-]+)/);
|
const htcom = $(this).attr('href').match(/https?:\/\/(www\.)?hooktube\.com\/watch\?v=([a-zA-Z\d_-]+)/);
|
||||||
const ivcom = $(this).attr('href').match(/https?:\/\/(www\.)?invidio\.us\/watch\?v=([a-zA-Z\d_-]+)/);
|
const ivcom = $(this).attr('href').match(/https?:\/\/(www\.)?invidio\.us\/watch\?v=([a-zA-Z\d_-]+)/);
|
||||||
|
|
Loading…
Reference in New Issue