mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Both client and mobile send ajax at the beginning when socket disconnected
This commit is contained in:
@@ -553,7 +553,7 @@ var List = {
|
||||
"client " + client,
|
||||
"socket_connected " + socket_connected
|
||||
]);
|
||||
if(client && !socket_connected) {
|
||||
if((client || Helper.mobilecheck()) && !socket_connected) {
|
||||
if(vote != "del") {
|
||||
vote_ajax(id);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user