Skip to content

Commit

Permalink
Fix for HTTP server tabs not automatically closing
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Jun 18, 2018
1 parent 4b18c55 commit cddd3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webext/src/background/tab_commands_mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default (MixinBase) => class extends MixinBase {

_tabCount(callback) {
this._getAllTabs((windowInfoArray) => {
callback(windowInfoArray.length);
callback(windowInfoArray[0].tabs.length);
});
}

Expand Down

0 comments on commit cddd3ca

Please sign in to comment.