From 5cdf976e37fbfc9e2a170dd67baa8b66a73f541a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Qu=C3=A8ze?= Date: Sun, 11 Mar 2012 19:21:15 +0100 Subject: [PATCH] Fix spelling of 'attachment' in comments. --- im/content/blist.js | 4 ++-- im/content/contact.xml | 2 +- im/content/conversation.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/im/content/blist.js b/im/content/blist.js index ea7f19d673..f4b23b6e72 100644 --- a/im/content/blist.js +++ b/im/content/blist.js @@ -520,7 +520,7 @@ var buddyList = { if (!("TextboxSpellChecker" in window)) Components.utils.import("resource:///modules/imTextboxUtils.jsm"); TextboxSpellChecker.registerTextbox(elt); - // force binding attachmant by forcing layout + // force binding attachment by forcing layout elt.getBoundingClientRect(); elt.select(); } @@ -613,7 +613,7 @@ var buddyList = { elt.removeAttribute("value"); elt.addEventListener("keypress", this.displayNameKeyPress); elt.addEventListener("blur", this.displayNameBlur); - // force binding attachmant by forcing layout + // force binding attachment by forcing layout elt.getBoundingClientRect(); elt.select(); } diff --git a/im/content/contact.xml b/im/content/contact.xml index 4faf5364bf..daa276e239 100644 --- a/im/content/contact.xml +++ b/im/content/contact.xml @@ -299,7 +299,7 @@ this.setAttribute("aliasing", "true"); let textbox = document.getAnonymousElementByAttribute(this, "anonid", "displayname"); - textbox.getBoundingClientRect(); // force binding attachmant by forcing layout + textbox.getBoundingClientRect(); // force binding attachment by forcing layout textbox.select(); // Some keys (home/end for example) can make the selected item diff --git a/im/content/conversation.xml b/im/content/conversation.xml index b96479d2a6..84bef67b19 100644 --- a/im/content/conversation.xml +++ b/im/content/conversation.xml @@ -1553,7 +1553,7 @@ elt.addEventListener("keypress", this._topicKeyPress); this._topicBlur = this.topicBlur.bind(this); elt.addEventListener("blur", this._topicBlur); - // force binding attachmant by forcing layout + // force binding attachment by forcing layout elt.getBoundingClientRect(); if (this.hasAttribute("noTopic")) elt.value = "";