From 9dd87be10d1e6050bde4c175a47281251c4ce396 Mon Sep 17 00:00:00 2001 From: kibblekitty Date: Sun, 9 Mar 2025 20:06:01 -0500 Subject: [PATCH] Updated action.js. Removed commented out code. Added function description for exit function. --- scripts/action.js | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/scripts/action.js b/scripts/action.js index 288d8dd4..33804125 100644 --- a/scripts/action.js +++ b/scripts/action.js @@ -22,23 +22,7 @@ function setFacetPopups(personaName) { //set functionality for motivation pop up info window $(".MTrigger").unbind("click").click(function () { addToolTip(lowercaseName+"MToolTip", personaName); - /*$('#abbyMSeeMOAR').off('click').on('click', function () { - var isOpen = $(this).attr("stateVar"); - - //The "see more" is expanded and needs to be closed - if (isOpen == 0) { - $("#abbyMPreview").hide(); - $("#abbyMComplete").show(); - $("#abbyMSeeMOAR").html("See less"); - $(this).attr("stateVar", 1); - } else { - $("#abbyMPreview").show(); - $("#abbyMComplete").hide(); - $("#abbyMSeeMOAR").html("See more..."); - $(this).attr("stateVar", 0); - } - - });*/ + }); //set up other info pop ups $(".IPSTrigger").unbind("click").click(function () { @@ -331,7 +315,11 @@ function actionLoop(el){ } }); - //exits the gendermag session + /* + * Function: exit + * Description: This function lets the user to exit the gendermag session. + * Params: None + */ function exit() { //setStatusToFalse("inMiddleOfAction"); localStorage.setItem("inMiddleOfAction", "false");