Permalink
Browse files

fix anonymous groups only show one

  • Loading branch information...
1 parent 48b9e89 commit e84589c35056e60f44e6f9ff56cbe2f51551c241 @char101 committed Sep 17, 2011
Showing with 2 additions and 3 deletions.
  1. +1 −2 bootstrap.js
  2. +1 −1 install.rdf
View
@@ -829,7 +829,7 @@ function processWindow(window) {
let groupTitles = [];
let addedTitles = [];
groupItems.forEach(function(group) {
- let title = group.getTitle();
+ let title = GU.getTitle(group);
if (! prefix || title.indexOf(prefix + GROUP_SEPARATOR) === 0) {
hasGroups = true;
@@ -856,7 +856,6 @@ function processWindow(window) {
}
}
});
- groupTitles.sort(function(a, b) a[0].localeCompare(b[0]));
groupTitles.forEach(function(arr) {
let group = GroupItems.groupItem(arr[1]);
let m = $E("menu", {
View
@@ -5,7 +5,7 @@
<creator>Charles G.</creator>
<id>tabgroupsmenu@char.cc</id>
<name>TabGroups Menu</name>
- <version>0.8.2.4</version>
+ <version>0.8.2.5</version>
<bootstrap>true</bootstrap>
<type>2</type>
<homepageURL>https://github.com/char101/tabgroupsmenu</homepageURL>

0 comments on commit e84589c

Please sign in to comment.