From f8b9b15b5f58b83fc09e75bf35a3c1b0e6ee46ca Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:34 -0400 Subject: [PATCH] spelling: element Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- view/js/linkPreview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index dddf904612..76d49adc94 100644 --- a/view/js/linkPreview.js +++ b/view/js/linkPreview.js @@ -805,7 +805,7 @@ /** * 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. @@ -855,7 +855,7 @@ /** * 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) { -- 2.39.5