1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 19:40:22 +03:00
This commit is contained in:
cTn 2014-01-18 19:20:34 +01:00
parent e27f8019d7
commit f13f07942e

View file

@ -206,6 +206,10 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
case 'sensors':
GUI.interval_kill_all(['port-update', 'port_usage', 'serial_read']);
// sensor data tab uses scrollbars, emptying the content before loading another tab
// prevents scrollbar exposure to any of the tabs while new content is loaded in
$('#content').empty();
if (callback) callback();
break;
case 'cli':