diff --git a/mail/base/content/about3Pane.js b/mail/base/content/about3Pane.js index 024cfd080a..2724004595 100644 --- a/mail/base/content/about3Pane.js +++ b/mail/base/content/about3Pane.js @@ -4463,7 +4463,7 @@ var threadPane = { } if ((event.key == "Backspace" || event.key == "Delete") && event.repeat) { - // Bail on delete event if there is a repeat event to prevent deleteing + // Bail on delete event if there is a repeat event to prevent deleting // multiple messages by mistake from a longer key press. event.preventDefault(); return; diff --git a/mail/base/content/mailWindow.js b/mail/base/content/mailWindow.js index ada5cfb92c..2719c90896 100644 --- a/mail/base/content/mailWindow.js +++ b/mail/base/content/mailWindow.js @@ -1113,7 +1113,7 @@ window.addEventListener("aboutMessageLoaded", event => { // eslint-disable-next-line no-shadow event.target.document.addEventListener("keypress", event => { if ((event.key == "Backspace" || event.key == "Delete") && event.repeat) { - // Bail on delete event if there is a repeat event to prevent deleteing + // Bail on delete event if there is a repeat event to prevent deleting // multiple messages by mistake from a longer key press. event.preventDefault(); } diff --git a/mail/test/browser/openpgp/browser_viewMessage.js b/mail/test/browser/openpgp/browser_viewMessage.js index 67eb2384ff..75039dbd38 100644 --- a/mail/test/browser/openpgp/browser_viewMessage.js +++ b/mail/test/browser/openpgp/browser_viewMessage.js @@ -265,7 +265,7 @@ add_task(async function testOpenForwardedEncrypted() { await BrowserTestUtils.closeWindow(msgc); }); -// TODO: the above tests that an encrypted .eml can be opnened from an unencrypted message. +// TODO: the above tests that an encrypted .eml can be opened from an unencrypted message. // We should also test/handle: // - other attachment (like .doc) in an encrypted message // - unencrypted .eml attachment in encrypted message (currently broken - bug 1926607)