1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00

Update socket css

This commit is contained in:
Daniel Neto 2024-10-01 13:16:02 -03:00
parent d9237065c1
commit 65d71404ce
5 changed files with 12 additions and 19 deletions

View file

@ -2913,6 +2913,8 @@ function getPleaseWait() {
})();
}
var TotalPageLoadSeconds = 0;
$(document).ready(function () {
getServerTime();
checkDescriptionArea();
@ -2996,6 +2998,10 @@ $(document).ready(function () {
var innerDiv = $(this).find("div.hidden");
avideoAlertInfo(innerDiv.html());
});
setInterval(function () {
TotalPageLoadSeconds++;
}, 1000);
});
/*!
@ -4421,3 +4427,8 @@ function actionButtonPlaylistClick(t, videos_id) {
$(t).webuiPopover();
callFunctionOrLoadScript('loadPlayLists', webSiteRootURL + 'plugin/PlayLists/script.js', videos_id);
}
// Function to get total seconds anytime
function getTotalPageLoadSeconds() {
return TotalPageLoadSeconds;
}