1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

prevent re-sending analytics appview on tab re-initialization, add 1500ms delay on configuration save & reboot

This commit is contained in:
cTn 2014-10-01 13:16:22 +02:00
parent 5cd042ae9d
commit f9ff34fb8b
13 changed files with 59 additions and 33 deletions

View file

@ -4,8 +4,10 @@ TABS.sensors = {};
TABS.sensors.initialize = function (callback) {
var self = this;
GUI.active_tab = 'sensors';
googleAnalytics.sendAppView('Sensor Page');
if (GUI.active_tab != 'sensors') {
GUI.active_tab = 'sensors';
googleAnalytics.sendAppView('Sensor Page');
}
function initSensorData(){
for (var i = 0; i < 3; i++) {