internals.injectedScript = true;
},
);
- } else {
- internals.getRoot().tabs.connect(activeTabs[0].id)
- }
- if (execution && !execution[0]) {
- internals.onDisconnect();
+ if (execution && !execution[0]) {
+ internals.onDisconnect();
+ }
+ } else {
+ internals.getRoot().tabs.connect(activeTabs[0].id);
}
},
+
hangUp() {
internals.getRoot().browserAction.disable();
internals.port.postMessage({