the counter in a parent tab should report the count of tabs not only collapsed descendants but including itself.
This commit is contained in:
parent
bcca67868e
commit
bbd95f450b
@ -4778,7 +4778,7 @@ TreeStyleTabBrowser.prototype = {
|
||||
{
|
||||
var count = this.document.getAnonymousElementByAttribute(aTab, 'class', this.kCOUNTER);
|
||||
if (count) {
|
||||
count.setAttribute('value', this.getDescendantTabs(aTab).length);
|
||||
count.setAttribute('value', this.getDescendantTabs(aTab).length + 1);
|
||||
}
|
||||
if (!aDontUpdateAncestor) {
|
||||
let parent = this.getParentTab(aTab);
|
||||
|
Loading…
Reference in New Issue
Block a user