1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Move flash progress to toolbar

This commit is contained in:
Miguel Angel Mulero Martinez 2019-05-16 09:07:12 +02:00
parent b6e5fcc891
commit 057185aead
6 changed files with 21 additions and 9 deletions

View file

@ -2448,7 +2448,7 @@ TABS.osd.initialize = function (callback) {
$('a.flash_font').click(function () {
if (!GUI.connect_lock) { // button disabled while flashing is in progress
$('a.flash_font').addClass('disabled');
$('.progressLabel').text('Uploading...');
$('.progressLabel').text(i18n.getMessage('osdSetupUploadingFont'));
FONT.upload($('.progress').val(0)).then(function () {
var msg = 'Uploaded all ' + FONT.data.characters.length + ' characters';
console.log(msg);