Change occurrences of 'catched' to 'caught'.

This commit is contained in:
Eric Theise 2022-10-13 06:12:10 -07:00
parent ca777f3274
commit e5d3ccf7b5
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ module.exports = function(options={}) {
// already bound to alt+f4 on windows
window.webContents.on('before-input-event', (e, input)=>{
// using before-input-event because electron-localshortcut
// gets azerty keyboards wrong (ctrl + z would also be catched)
// gets azerty keyboards wrong (ctrl + z would also be caught)
if ((input.key === 'w' || input.key === 'W') && input.control && input.type === 'keyDown') {
window.close()
}