summaryrefslogtreecommitdiff
path: root/src/static/js/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/chat.js')
-rw-r--r--src/static/js/chat.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/chat.js b/src/static/js/chat.js
index 811b1320..021a906a 100644
--- a/src/static/js/chat.js
+++ b/src/static/js/chat.js
@@ -36,6 +36,10 @@ var chat = (function()
chatMentions = 0;
Tinycon.setBubble(0);
},
+ focus: function ()
+ {
+ $("#chatinput").focus();
+ },
stickToScreen: function(fromInitialCall) // Make chat stick to right hand side of screen
{
chat.show();