\
@@ -125,7 +125,7 @@
isExtern = true;
}
- // Don't procces the textarea input if we have already
+ // Don't process the textarea input if we have already
// an attachment preview.
if (!isExtern && isActive) {
return;
@@ -233,7 +233,7 @@
};
/**
- * Proccess all attachment data and show up a html
+ * Process all attachment data and show up a html
* attachment preview.
*
* @param {obj} data Attachment data.
@@ -368,7 +368,7 @@
// More than just one image.
if (images.length > 1) {
- // Enable the the button to change the preview pictures.
+ // Enable the button to change the preview pictures.
$('#previewChangeImg_' + id).show();
if (firstPosted === false) {
@@ -679,7 +679,7 @@
$('#previewImage_' + id).html(appendImage);
$('#attachmentImageSrc_' + id).val(bin2hex(image));
- // We need to add the image widht and height when it is
+ // We need to add the image width and height when it is
// loaded.
$('' ,{
load : function(){
@@ -853,7 +853,7 @@
}
/**
- * Get the cursor posiotion in an text element.
+ * Get the cursor position in an text element.
*
* @param {object} ctrl Textarea element.
* @returns {integer} Position of the cursor.