1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

fix graph initialization on cold start

This commit is contained in:
cTn 2014-08-14 16:40:55 +02:00
parent d3d933a704
commit 468d7f57c8

View file

@ -219,7 +219,7 @@ TABS.sensors.initialize = function (callback) {
checkboxes.eq(i).not(':disabled').prop('checked', result.graphs_enabled[i]).change(); checkboxes.eq(i).not(':disabled').prop('checked', result.graphs_enabled[i]).change();
} }
} else { } else {
$('.tab-sensors .info input:lt(4)').prop('checked', true).change(); $('.tab-sensors .info input:lt(4):not(:disabled)').prop('checked', true).change();
} }
}); });