summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-02 21:29:03 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-02 21:29:03 +0000
commitbb404c9be23f01002ec33cd0b42cc4c091e488e8 (patch)
tree23266dbfea24ba1d4a2bcd08f2c97f69da436a4a /js/util.js
parenta9c83b064f38a2a1c431710c20eef611057711e8 (diff)
Disabled textarea focus for conversation page since most entrances to
this page is with 'in context' link (which includes a fragment identifier)
Diffstat (limited to 'js/util.js')
-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