Fix for reply arrow in profile page

darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz
This commit is contained in:
Michael Landers 2008-09-05 05:08:48 -04:00
parent 77a96747d7
commit a2ff06d046

View File

@ -58,7 +58,7 @@ function doreply(nick) {
rgx_username = /^[0-9a-zA-Z\-_.]*$/;
if (nick.match(rgx_username)) {
replyto = "@" + nick + " ";
if ($("#status_textarea")) {
if ($("#status_textarea").length) {
$("#status_textarea").val(replyto);
$("#status_textarea").focus();
return false;