1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Improve live history search

This commit is contained in:
Daniel 2021-08-04 15:07:25 -03:00
parent 46a491158a
commit ded46f26d0

View file

@ -984,7 +984,7 @@ function setCurrentTime(currentTime) {
}
function isALiveContent() {
if (typeof isLive !== 'undefined' && isLive && (typeof isOnlineLabel === 'undefined' || isOnlineLabel === true)) {
if (typeof isLive !== 'undefined' && isLive && (typeof isOnlineLabel === 'undefined' || isOnlineLabel === true || $('.liveOnlineLabel').hasClass('label-success'))) {
return true;
}
return false;