mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
fixed more bugs, obviously.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3678 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -96,7 +96,7 @@ function emoticon(text) {
|
||||
text = ' ' + text + ' ';
|
||||
if (txtarea.createTextRange && txtarea.caretPos) {
|
||||
var caretPos = txtarea.caretPos;
|
||||
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
|
||||
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
|
||||
txtarea.focus();
|
||||
} else {
|
||||
txtarea.value += text;
|
||||
|
Reference in New Issue
Block a user