Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Toggle dev tools #45

Closed
bayleedev opened this issue Jul 31, 2016 · 0 comments
Closed

Toggle dev tools #45

bayleedev opened this issue Jul 31, 2016 · 0 comments
Labels
Milestone

Comments

@bayleedev
Copy link
Member

When no window is focused you can't toggle devtools it throws an exception. We should handle this more gracefully.

Uncaught Exception:
TypeError: Cannot read property 'toggleDevTools' of null
    at click (/Applications/Zazu.app/Contents/Resources/app.asar/helpers/menu_template.js:61:43)
    at MenuItem.click (/Applications/Zazu.app/Contents/Resources/electron.asar/browser/api/menu-item.js:59:9)
    at Function.executeCommand (/Applications/Zazu.app/Contents/Resources/electron.asar/browser/api/menu.js:121:15)
@bayleedev bayleedev added the bug label Jul 31, 2016
@bayleedev bayleedev added this to the v0.2.0 milestone Jul 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant