]> git.mxchange.org Git - friendica.git/commitdiff
spelling: element
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 03:17:34 +0000 (23:17 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:03:23 +0000 (16:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
view/js/linkPreview.js

index dddf9046127ee2ab2a8784f76be27361209f46d9..76d49adc947cda5023c60b3610661fc8f57effa8 100644 (file)
        /**
        * 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.
        * 
        * @returns {string} Previous word.
        /**
         * Get the cursor posiotion in an text element.
         * 
-        * @param {object} ctrl Textarea elemet.
+        * @param {object} ctrl Textarea element.
         * @returns {integer} Position of the cursor.
         */
        function getCaretPosition(ctrl) {