Moved buttons from main view to plugin

Esse commit está contido em:
Laurent Eschenauer
2013-08-28 22:09:49 +02:00
commit eafd160379
2 arquivos alterados com 4 adições e 2 exclusões
+4
Ver Arquivo
@@ -87,6 +87,10 @@ PILOT_ACCELERATION = 0.04;
this.moving = false;
this.keys = {};
// Add the buttons to the control area
$('#controls').append('<input type="button" id="ftrim" value="Flat trim">');
$('#controls').append('<input type="button" id="calibratemagneto" value="Calibrate magneto">');
// Start with magneto calibration disabled.
$('#calibratemagneto').prop('disabled', true);