From a2ff06d0464049f969b2b2aa3d0cf00c3820d926 Mon Sep 17 00:00:00 2001 From: Michael Landers Date: Fri, 5 Sep 2008 05:08:48 -0400 Subject: [PATCH] Fix for reply arrow in profile page darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/util.js b/js/util.js index 7f7ca238d8..a444e9ea15 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;