1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

pre-enable i18n for all html content in tabs

This commit is contained in:
cTn 2014-05-06 16:48:46 +02:00
parent 6a33801463
commit 2162a2b9d3
10 changed files with 30 additions and 0 deletions

View file

@ -165,6 +165,9 @@ function tab_initialize_sensors() {
}
$('#content').load("./tabs/sensors.html", function load_html() {
// translate to user-selected language
localize();
$('.tab-sensors .info .checkboxes input').change(function() {
var enable = $(this).prop('checked');
var index = $(this).parent().index();