]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Disabled textarea focus for conversation page since most entrances to
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 2 Jul 2009 21:29:03 +0000 (21:29 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 2 Jul 2009 21:29:03 +0000 (21:29 +0000)
this page is with 'in context' link (which includes a fragment
identifier)

js/util.js

index 638104c1c58045842c653292fb8a0784b4384972..9bb7c91288ff6577b445b1b9a7e1512e14ac7d58 100644 (file)
@@ -49,8 +49,9 @@ $(document).ready(function(){
                // run once in case there's something in there
                counter();
 
-               // set the focus
-               $("#notice_data-text").focus();
+        if($('body')[0].id != 'conversation') {
+            $("#notice_data-text").focus();
+        }
        }
 
        // XXX: refactor this code