Skip to content

Extension can't get menu access key thus keyboard shortcut to make menu appears fails #34

@ajkessel

Description

@ajkessel

When extension is installed in recent releases on Thunderbird, this error appears repeatedly in error console:

ReferenceError: nsPreferences is not defined[Learn More]  compactMenu.js:643:7
	CM_isMenuAccessKey chrome://compact/content/compactMenu.js:643:7
	CM_onkeydown chrome://compact/content/compactMenu.js:1258:18
	CM_handleEvent chrome://compact/content/compactMenu.js:1195:16

I expect this is why you can no longer access the menu with a keyboard shortcut. Is there a quick fix to this line of code that would restore that functionality?

var accessKey = nsPreferences.getIntPref('ui.key.menuAccessKey');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions