mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 20:35:19 +03:00
polishing run
This commit is contained in:
parent
e27a194ec7
commit
2753f354e0
5 changed files with 41 additions and 38 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue