1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Added analytics for new configurator elements.

This commit is contained in:
mikeller 2019-09-15 22:15:25 +12:00
parent 93e4cf83b8
commit 005868bc07
11 changed files with 242 additions and 120 deletions

View file

@ -51,6 +51,8 @@ CliAutoComplete.setEnabled = function(enable) {
};
CliAutoComplete.initialize = function($textarea, sendLine, writeToOutput) {
analytics.sendEvent(analytics.EVENT_CATEGORIES.APPLICATION, 'CliAutoComplete', this.configEnabled);
this.$textarea = $textarea;
this.forceOpen = false,
this.sendLine = sendLine;