Fixed some indentation

master
Gina Häußge 2013-03-11 21:46:05 +01:00
parent e2798de727
commit 4b8260b933
1 changed files with 6 additions and 6 deletions

View File

@ -1521,7 +1521,7 @@ $(function() {
//~~ Terminal //~~ Terminal
$("#terminal-send").click(function () { $("#terminal-send").click(function () {
var command = $("#terminal-command").val(); var command = $("#terminal-command").val();
if (command) { if (command) {
$.ajax({ $.ajax({
@ -1531,15 +1531,15 @@ $(function() {
contentType: "application/json; charset=UTF-8", contentType: "application/json; charset=UTF-8",
data: JSON.stringify({"command": command}) data: JSON.stringify({"command": command})
}) })
$("#terminal-command").val('') $("#terminal-command").val('')
} }
}) })
$("#terminal-command").keyup(function(event){ $("#terminal-command").keyup(function (event) {
if(event.keyCode == 13){ if (event.keyCode == 13) {
$("#terminal-send").click() $("#terminal-send").click()
} }
}) })
//~~ Gcode upload //~~ Gcode upload