diff --git a/src/ext/lib/comms/CommsServer.js b/src/ext/lib/comms/CommsServer.js index 7946bef..b3a6d16 100644 --- a/src/ext/lib/comms/CommsServer.js +++ b/src/ext/lib/comms/CommsServer.js @@ -212,7 +212,7 @@ class CommsServer { this.sendToAll(message); return; } - [tab, frame] = tab.split('-') + [tab, frame] = frame.split('-'); } this.logger.log('info', 'comms', `%c[CommsServer::sendToFrame] attempting to send message to tab ${tab}, frame ${frame}`, "background: #dda; color: #11D", message);