mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 19:31:22 +00:00
Rework button handler
This commit is contained in:
parent
f6a8bf6239
commit
982f72b4ba
@ -7,8 +7,11 @@ $('#container').on('click', '.anchor', ( function (event) {
|
||||
'anchor': anchorName,
|
||||
'data': $('#' + anchorName).text()
|
||||
});
|
||||
console.log("Sending: " + data);
|
||||
console.log('Sending: ');
|
||||
console.log(data);
|
||||
ws.send(data);
|
||||
}));
|
||||
let anchorName = $(this).attr('id').replace('_event', '');
|
||||
}));
|
||||
|
||||
ws.onmessage = function (messageEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user