Update interface.html

master
Elfreda Kwawu 2024-04-04 17:06:34 -04:00 committed by GitHub
parent e411db0eec
commit b36fba55f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@ function getData() {
});
}
// You can call a utility function to save the data
// Call a utility function to save the data
document.getElementById("btnSave").addEventListener("click", function() {
Util.saveCSV("heart_rate_data", csvData);
});
// Or you can also delete the file
// Or delete the file
document.getElementById("btnDelete").addEventListener("click", function() {
Util.showModal("Deleting...");
Util.eraseStorageFile("heart_rate_data.csv", function() {