diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index defc2c40..e012744e 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -120,7 +120,7 @@ class Clone extends Container() { getCloneTarget() { - // attempt to acquire a cloneTarget if 'widget-created' event has not been catched + // attempt to acquire a cloneTarget if 'widget-created' event has not been caught // (the target might have been created before the clone itself) var widgets = widgetManager.getWidgetById(this.getProp('widgetId')) @@ -197,7 +197,7 @@ class Clone extends Container() { this.cloneTarget = target // listen for cloneTarget's deletion - // if it is just edited, its recreation will be catched by the global 'widget-created' event handler + // if it is just edited, its recreation will be caught by the global 'widget-created' event handler this.cloneTarget.on('widget-removed', (e)=>{ if (this.cloneTarget === e.widget) { this.unbindTarget() diff --git a/src/server/electron-window.js b/src/server/electron-window.js index da95fa39..3e054136 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -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() }