Update emoticons.js

Two functions with the same name...
This commit is contained in:
Frank Hochmuth 2024-03-07 02:31:39 +01:00 committed by GitHub
parent 50702a8a5f
commit a2db3316f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}