Skip to content

Commit

Permalink
denschub#9 added missing .length
Browse files Browse the repository at this point in the history
  • Loading branch information
xiio committed Apr 3, 2016
1 parent 028ccba commit 00bc16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tabmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ TabManager.prototype = {
},

getGroupTabCount: function(tabBrowser, groupID) {
return this._storage.getTabIndexesByGroup(tabBrowser, groupID);
return this._storage.getTabIndexesByGroup(tabBrowser, groupID).length;
},

/**
Expand Down

0 comments on commit 00bc16c

Please sign in to comment.