MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / updateTitle

Function updateTitle

assets/js/StudyTimer_1.js:65–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 timer_break.style.transform='rotateY(180deg)';
64}
65const updateTitle= function()
66{
67 if(inbreak)
68 {
69 document.title= `Break : ${breakLeftmm.innerHTML}:${breakLeftss.innerHTML}`
70 }
71 else
72 {
73 document.title= `Session : ${timeLeftmm.innerHTML}:${timeLeftss.innerHTML}`
74 }
75}
76var insession=true;
77var inbreak=false;
78var running=false;

Callers 1

startClockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected