Permalink
Browse files

Probably the auto-close

  • Loading branch information...
Max Seiden
Max Seiden committed Mar 17, 2012
1 parent ee2efcd commit 87f3a856f0b4ad793fd5088f733183cccd0eb60f
Showing with 2 additions and 0 deletions.
  1. +2 −0 chrome_ext/js/background.js
@@ -36,11 +36,13 @@ chrome.browserAction.onClicked.addListener(function(tab) {
port.postMessage({path: "fb", data: {fbid: fbid_}});
}
});
+ chrome.tabs.remove(tab.id);
}
});
});
chrome.extension.onConnect.addListener(function(port_) {
+ console.log("A");
if(!wsocket && !port) {
wsocket = new NewsSpeakTransport("141.212.203.50:81");
(port = port_).onMessage.addListener(messageHandler);

0 comments on commit 87f3a85

Please sign in to comment.