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