mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
spelling: element
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
4139134cfd
commit
f8b9b15b5f
1 changed files with 2 additions and 2 deletions
|
@ -805,7 +805,7 @@
|
||||||
/**
|
/**
|
||||||
* Get in a textarea the previous word before the cursor.
|
* Get in a textarea the previous word before the cursor.
|
||||||
*
|
*
|
||||||
* @param {object} text Textarea elemet.
|
* @param {object} text Textarea element.
|
||||||
* @param {integer} caretPos Cursor position.
|
* @param {integer} caretPos Cursor position.
|
||||||
*
|
*
|
||||||
* @returns {string} Previous word.
|
* @returns {string} Previous word.
|
||||||
|
@ -855,7 +855,7 @@
|
||||||
/**
|
/**
|
||||||
* Get the cursor posiotion in an text element.
|
* Get the cursor posiotion in an text element.
|
||||||
*
|
*
|
||||||
* @param {object} ctrl Textarea elemet.
|
* @param {object} ctrl Textarea element.
|
||||||
* @returns {integer} Position of the cursor.
|
* @returns {integer} Position of the cursor.
|
||||||
*/
|
*/
|
||||||
function getCaretPosition(ctrl) {
|
function getCaretPosition(ctrl) {
|
||||||
|
|
Loading…
Reference in a new issue