function ohThereYouAre(){
    noteInfoField.innerHTML = "Welcome back, " + user.name;
    noteTitleField.innerHTML = "Oh, There You Are!";

    var nowJ = 0;
    var j = setInterval(function(){
      nowJ = nowJ + 1000;
      if(nowJ >= 3000){
        noteModal.style.display = "none";
        areYouStillThereBool = false;
        clearInterval(j);
      }
    }, 1000);

    //close on click
    window.onclick = function(event) {
      if (event.target == noteModal) {
        noteModal.style.display = "none";
        areYouStillThereBool = false;
      }
    };
  }
//This function edits the notification modal to welcome the user back after being inactive
This function edits the notification modal to welcome the user back after being inactive
This function edits the notification modal to welcome the user back after being inactive
function ohThereYouAre(){
    noteInfoField.innerHTML = "Welcome back, " + user.name;
    noteTitleField.innerHTML = "Oh, There You Are!";
    var nowJ = 0;
    var j = setInterval(function(){
      nowJ = nowJ + 1000;
      if(nowJ >= 3000){
        noteModal.style.display = "none";
        areYouStillThereBool = false;
        clearInterval(j);
      }
    }, 1000);
    window.onclick = function(event) {
      if (event.target == noteModal) {
        noteModal.style.display = "none";
        areYouStillThereBool = false;
      }
    };
  }
function ohThereYouAre ( ) { noteInfoField . innerHTML = "Welcome back, " + user . name ; noteTitleField . innerHTML = "Oh, There You Are!" ; var nowJ = 0 ; var j = setInterval ( function ( ) { nowJ = nowJ + 1000 ; if ( nowJ >= 3000 ) { noteModal . style . display = "none" ; areYouStillThereBool = false ; clearInterval ( j ) ; } } , 1000 ) ; window . onclick = function ( event ) { if ( event . target == noteModal ) { noteModal . style . display = "none" ; areYouStillThereBool = false ; } } ; }
This function edits the notification modal to welcome the user back after being inactive
This function edits the notification modal to welcome the user back after being inactive
//close on click