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:
parent
6a33801463
commit
2162a2b9d3
10 changed files with 30 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue