[comment] reduce jquery
This commit is contained in:
parent
410bddd24e
commit
ccd14e38c5
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
function replyTo(imageId, commentId, userId) {
|
||||
var box = $("#comment_on_"+imageId);
|
||||
var box = document.getElementById("comment_on_"+imageId);
|
||||
var text = "[url=site://post/view/"+imageId+"#c"+commentId+"]@"+userId+"[/url]: ";
|
||||
|
||||
box.focus();
|
||||
box.val(box.val() + text);
|
||||
box.value += text;
|
||||
$("#c"+commentId).highlight();
|
||||
}
|
||||
|
|
Reference in a new issue