()
| 31 | |
| 32 | // piece of code to flip between the session and break |
| 33 | const flipSession=()=> |
| 34 | { |
| 35 | insession=false |
| 36 | inbreak= true |
| 37 | displayedPlanner=true; |
| 38 | timer_session.style.display='none'; |
| 39 | timer_break.style.display='block'; |
| 40 | timer_break.style.transform='rotateY(0deg)'; |
| 41 | |
| 42 | // for displaying the goals only once on the screen |
| 43 | if(displayedSession) |
| 44 | { curListLenCount+=1; |
| 45 | dropDownDiv.innerHTML+= |
| 46 | `<div class='dropdown-div'> |
| 47 | <p class='dropdown-div-heading'> Session ${curListLenCount} |
| 48 | </p> |
| 49 | <ul class='ul-list-dropdown' id="session_displayer__list-${curListLenCount}"> </ul> |
| 50 | </div>` |
| 51 | displaySessionDetails() |
| 52 | displayedSession=false |
| 53 | } |
| 54 | |
| 55 | } |
| 56 | const flipBreak=()=> |
| 57 | { |
| 58 | insession=true |
no test coverage detected