summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Landers <ez4u2sai@gmail.com>2008-09-05 05:08:48 -0400
committerMichael Landers <ez4u2sai@gmail.com>2008-09-05 05:08:48 -0400
commita2ff06d0464049f969b2b2aa3d0cf00c3820d926 (patch)
treeceabb55e140e24fe1f297133b5158c23c70da65a
parent77a96747d7516921c36a853ee3b3adcf12340527 (diff)
Fix for reply arrow in profile page
darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index 7f7ca238d..a444e9ea1 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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;