From: Michael Landers Date: Fri, 5 Sep 2008 09:08:48 +0000 (-0400) Subject: Fix for reply arrow in profile page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a2ff06d0464049f969b2b2aa3d0cf00c3820d926;p=quix0rs-gnu-social.git Fix for reply arrow in profile page darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz --- 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;