Prevent duplicate conversations and refocus on click (still buggy)
This commit is contained in:
parent
7ec27f814f
commit
783a3f7c15
7 changed files with 116 additions and 21 deletions
|
@ -225,4 +225,12 @@
|
|||
|
||||
extension.on('log', console.log.bind(console));
|
||||
|
||||
chrome.runtime.onConnect.addListener(function (port) {
|
||||
if (port.name === 'panel_presence') {
|
||||
port.onDisconnect.addListener(function (message) {
|
||||
closeConversation(message.sender.tab.windowId);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue