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

Socket updates

This commit is contained in:
Daniel 2022-01-20 13:45:57 -03:00
parent c4f7d93846
commit f9526fa6b5
3 changed files with 29 additions and 13 deletions

View file

@ -155,7 +155,7 @@ function parseSocketResponse() {
}
//console.log("parseSocketResponse", json);
if (json.isAdmin && webSocketServerVersion > json.webSocketServerVersion) {
if (typeof avideoToastWarning == 'funciton') {
if (typeof avideoToastWarning == 'function') {
avideoToastWarning("Please restart your socket server. You are running (v" + json.webSocketServerVersion + ") and your client is expecting (v" + webSocketServerVersion + ")");
}
}