From 0e2a275cc5bfc12545338c7268515ba9f8545c62 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:02 -0400 Subject: [PATCH] spelling: character Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- view/js/linkPreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index 3b6b9eae5..dddf90461 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 === " "