polishing run

pull/3/head
cTn 10 years ago committed by Dominic Clifton
parent b77ed6b174
commit 118715ef85

@ -45,13 +45,16 @@ TABS.cli.initialize = function(callback) {
});
textarea.keyup(function (event) {
var keyUp = { 38: true }, keyDown = { 40: true };
var keyUp = {38: true},
keyDown = {40: true};
if (event.keyCode in keyUp)
if (event.keyCode in keyUp) {
textarea.val(self.history.prev());
}
if (event.keyCode in keyDown)
if (event.keyCode in keyDown) {
textarea.val(self.history.next());
}
});
// give input element user focus

@ -3,6 +3,7 @@
TABS.initial_setup = {
yaw_fix: 0.0
};
TABS.initial_setup.initialize = function (callback) {
var self = this;
GUI.active_tab_ref = this;
@ -137,7 +138,6 @@ TABS.initial_setup.initialize = function(callback) {
case 13:
$(".modelMixDiagram").attr("src","./images/motor_order/octox.svg").addClass('modelMixOctoX');
break;
case 4: // BI
case 5: // GIMBAL
case 8: // FLYING_WING

Loading…
Cancel
Save