fix indenting

This commit is contained in:
Stefan Breunig
2013-02-12 09:20:08 +01:00
parent 20ac194d90
commit 52306b033d

View File

@ -637,7 +637,6 @@ window.chat.setupTime = function() {
window.chat.setupPosting = function() {
$('#chatinput input').keydown(function(event) {
try {
var kc = (event.keyCode ? event.keyCode : event.which);
if(kc === 13) { // enter
chat.postMsg();
@ -646,8 +645,6 @@ try{
event.preventDefault();
window.chat.handleTabCompletion();
}
} catch(error) {
console.log(error);
debug.printStackTrace();
@ -655,8 +652,8 @@ try{
});
$('#chatinput').submit(function(event) {
chat.postMsg();
event.preventDefault();
chat.postMsg();
});
}