From 101a6374f849cd2d9f65ab4162c701da951b63f2 Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Sat, 16 Nov 2024 17:20:18 +0000 Subject: [PATCH] fixed tracking, removed dupe domcache key, bumped version --- js/DOMcache.js | 1 - js/tracking.js | 2 +- package.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/DOMcache.js b/js/DOMcache.js index dfd0353..44d52b2 100644 --- a/js/DOMcache.js +++ b/js/DOMcache.js @@ -56,7 +56,6 @@ const DOM = { get progressDiv() { if (!this._progressDiv) { this._progressDiv = document.getElementById('progressDiv') } return this._progressDiv}, get progressBar() { if (!this._progressBar) { this._progressBar = document.getElementById('progress-bar') } return this._progressBar}, get resultTableElement() { if (!this._resultTableElement) { this._resultTableElement = document.getElementById('resultTableContainer') } return this._resultTableElement}, - get sendFilteredAudio() { if (!this._sendFilteredAudio) { this._sendFilteredAudio = document.getElementById('send-filtered-audio-to-model') } return this._sendFilteredAudio}, get spectrogramWrapper() { if (!this._spectrogramWrapper) { this._spectrogramWrapper = document.getElementById('spectrogramWrapper') } return this._spectrogramWrapper}, get spectrogram() { if (!this._spectrogram) { this._spectrogram = document.getElementById('spectrogram') } return this._spectrogram}, get specLabels() { if (!this._specLabels) { this._specLabels = document.getElementById('spec-labels') } return this._specLabels}, diff --git a/js/tracking.js b/js/tracking.js index 8df76eb..9b3ff72 100644 --- a/js/tracking.js +++ b/js/tracking.js @@ -1,4 +1,4 @@ -const ID_SITE = 3; +const ID_SITE = 2; let VISITOR; function trackEvent(uuid, event, action, name, value){ // Squash result numbers diff --git a/package.json b/package.json index ec8639d..fc1c55a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chirpity", - "version": "2.3.4", + "version": "2.4.0-alpha1", "description": "Chirpity Nocmig", "main": "main.js", "scripts": {