Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions GenderMagRecordersAssistant
Submodule GenderMagRecordersAssistant added at eb38b4
11 changes: 9 additions & 2 deletions scripts/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/


//Sets persona name?? Runs at startup??
// Loads the persona name from localStorage on startup, or defaults to "Abi"
var personaName = localStorage.getItem("personaName");
if (personaName !== null ) {personaName = personaName.slice(1, personaName.length-1);}
else { personaName = "Abi"; }
Expand Down Expand Up @@ -331,7 +331,14 @@ function actionLoop(el){
}
});

//exits the gendermag session
/*
* Function: exit
* Description: Ends the GenderMag session by saving status flags, showing final download options,
* and preparing for final confirmation or cancellation. Provides options to download
* the session data in different formats, ensures the user confirms data is saved before
* quitting, and handles "go back" behavior.
* Params: none
*/
function exit() {
//setStatusToFalse("inMiddleOfAction");
localStorage.setItem("inMiddleOfAction", "false");
Expand Down