From a2db3316f99aeaa34d6365c2ceb74b98af7a9476 Mon Sep 17 00:00:00 2001 From: Frank Hochmuth Date: Thu, 7 Mar 2024 02:31:39 +0100 Subject: [PATCH] Update emoticons.js Two functions with the same name... --- fp-plugins/emoticons/res/emoticons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-plugins/emoticons/res/emoticons.js b/fp-plugins/emoticons/res/emoticons.js index 4792465..7a2b14f 100644 --- a/fp-plugins/emoticons/res/emoticons.js +++ b/fp-plugins/emoticons/res/emoticons.js @@ -1,7 +1,7 @@ /* * Emoticons Plugin */ -function insertAtCursor(myField, myValue) { +function insertEmoticon(myField, myValue) { if(document.selection) { myField.focus(); sel = document.selection.createRange(); @@ -17,5 +17,5 @@ function insertAtCursor(myField, myValue) { } function emoticons(value) { - return insertAtCursor(document.getElementById('content'), value); + return insertEmoticon(document.getElementById('content'), value); }