]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for reply arrow in profile page
authorMichael Landers <ez4u2sai@gmail.com>
Fri, 5 Sep 2008 09:08:48 +0000 (05:08 -0400)
committerMichael Landers <ez4u2sai@gmail.com>
Fri, 5 Sep 2008 09:08:48 +0000 (05:08 -0400)
darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz

js/util.js

index 7f7ca238d83dc94b53a1066c64ff14bcbadbea55..a444e9ea15e3f5995a0d856e1c7268315a430f96 100644 (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;