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

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

Open
ajkessel opened this issue Jun 23, 2017 · 0 comments

Comments

@ajkessel
Copy link

ajkessel commented Jun 23, 2017

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');

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

No branches or pull requests

1 participant