From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 03:17:02 +0000 (-0400) Subject: spelling: character X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e2a275cc5bfc12545338c7268515ba9f8545c62;p=friendica.git spelling: character Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index 3b6b9eae56..dddf904612 100644 --- a/view/js/linkPreview.js +++ b/view/js/linkPreview.js @@ -813,7 +813,7 @@ function returnWord(text, caretPos) { var index = text.indexOf(caretPos); var preText = text.substring(0, caretPos); - // If the last charachter is a space or enter remove it + // If the last character is a space or enter remove it // We need this in friendica for the url preview. var lastChar = preText.slice(-1) if ( lastChar === " "