mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-22 01:20:59 -05:00
fixed an issue in the mobile webchat
The global socket var wasn't defined globally in send-message-mobile.js
This commit is contained in:
parent
2416f0ea1a
commit
34311f0fbd
@ -2,11 +2,11 @@ var cleared = false;
|
||||
var callsign_list = {};
|
||||
var message_list = {};
|
||||
var from_msg_list = {};
|
||||
const socket = io("/sendmsg");
|
||||
|
||||
function size_dict(d){c=0; for (i in d) ++c; return c}
|
||||
|
||||
function init_chat() {
|
||||
const socket = io("/sendmsg");
|
||||
socket.on('connect', function () {
|
||||
console.log("Connected to socketio");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user