1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

detach listeners and remove element data

This commit is contained in:
cTn 2014-03-15 15:43:08 +01:00
parent b11a84217b
commit dcdccd683d
2 changed files with 8 additions and 0 deletions

View file

@ -48,6 +48,11 @@ $(document).ready(function() {
sensor_status(sensors_detected = 0); // reset active sensor indicators
$('#tabs > ul li').removeClass('active'); // de-select any selected tabs
// detach listeners and remove element data
$('#content').empty();
// load default html
tab_initialize_default();
}