webfast 0.1.41 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
@@ -164,7 +164,6 @@ web.fast.connectWebSocket = function(socketURL,maxRetries = 40, retries = 0) {
|
|
164
164
|
}
|
165
165
|
|
166
166
|
// Call the function to start the WebSocket connection
|
167
|
-
web.fast.connectWebSocket(socketURL);
|
168
167
|
web.fast.receive = function(data,message) {
|
169
168
|
// Placeholder for processing the received data
|
170
169
|
// Implement your logic here (e.g., update UI, handle specific messages)
|
@@ -303,4 +302,7 @@ jQuery(document).ready(function() {
|
|
303
302
|
console.error(`No Action for : ${elementType}`);
|
304
303
|
}
|
305
304
|
});
|
305
|
+
|
306
|
+
// Connect to websocket
|
307
|
+
web.fast.connectWebSocket(socketURL);
|
306
308
|
});
|