summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-02 15:13:30 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-02 15:13:30 -0700
commit608a7ba77c3db6174bd00ffd5ac7b71bfefbafd8 (patch)
treedfcee9813845b72a4836d1da50b9b72fa0994bd9
parentbca3b3d36fb19c8583435febd2843a386a1469e6 (diff)
parentbb404c9be23f01002ec33cd0b42cc4c091e488e8 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
* '0.8.x' of git@gitorious.org:laconica/dev: Disabled textarea focus for conversation page since most entrances to
-rw-r--r--js/util.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index 638104c1c..9bb7c9128 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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