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