Update emoticons.js
Two functions with the same name...
This commit is contained in:
parent
50702a8a5f
commit
a2db3316f9
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Emoticons Plugin
|
* Emoticons Plugin
|
||||||
*/
|
*/
|
||||||
function insertAtCursor(myField, myValue) {
|
function insertEmoticon(myField, myValue) {
|
||||||
if(document.selection) {
|
if(document.selection) {
|
||||||
myField.focus();
|
myField.focus();
|
||||||
sel = document.selection.createRange();
|
sel = document.selection.createRange();
|
||||||
@ -17,5 +17,5 @@ function insertAtCursor(myField, myValue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function emoticons(value) {
|
function emoticons(value) {
|
||||||
return insertAtCursor(document.getElementById('content'), value);
|
return insertEmoticon(document.getElementById('content'), value);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user