1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +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

@ -69,6 +69,9 @@ $(document).ready(function() {
// Highlight selected tab
$(self).parent().addClass('active');
// detach listeners and remove element data
$('#content').empty();
switch (tab) {
case 'tab_initial_setup':
tab_initialize_initial_setup();