Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of unread items isn't displayed on latest Firefox 25.0a1 #59

Open
Infocatcher opened this issue Jul 5, 2013 · 1 comment
Open
Labels

Comments

@Infocatcher
Copy link
Contributor

Something changed in XBL handling, so items inside <toolbarbutton> isn't displayed (but exists in DOM).

Strange workaround:

    get statusCounter() {
        let statusCounter = document.getElementById('brief-status-counter');
        if (!statusCounter)
            return null;
        let tb = this.toolbarbutton;
        if (tb) { // Workarond for Firefox 25.0a1
            let innerBox = document.getElementById('brief-button-inner-box');
            if (innerBox && innerBox.boxObject.width == 0)
                tb.appendChild(statusCounter);
        }
        delete this.statusCounter;
        return this.statusCounter = statusCounter;
    },
@Infocatcher
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant