fix indenting
This commit is contained in:
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user