1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00

fix counter

This commit is contained in:
Daniel 2022-01-15 11:04:44 -03:00
parent beef07849d
commit aa9fcd172c
2 changed files with 339 additions and 339 deletions

View file

@ -139,7 +139,7 @@ if (empty($obj->hideTopButton)) {
} else { } else {
$('#availableLiveStream').removeClass('notfound'); $('#availableLiveStream').removeClass('notfound');
} }
$('.onlineApplications').text(response.countLiveStream); $('.onlineApplications').text($('#availableLiveStream > div').length);
} }
setTimeout(function () { setTimeout(function () {

View file

@ -168,7 +168,7 @@ if (isMobile()) {
playCorrectSource<?php echo $liveViewStatusID; ?>(); playCorrectSource<?php echo $liveViewStatusID; ?>();
$('.liveViewCount').text(" " + response.nclients); $('.liveViewCount').text(" " + response.nclients);
$('#<?php echo $liveViewStatusID; ?>').text(response.msg); $('#<?php echo $liveViewStatusID; ?>').text(response.msg);
$('#onlineApplications').text(response.applications.lenght); $('.onlineApplications').text($('#availableLiveStream > div').length);
timeout = 15000; timeout = 15000;
} }
setTimeout(function () { setTimeout(function () {