MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / stopReader

Function stopReader

Speed-Reader/app.js:46–52  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

44
45//Stop the Reader
46function stopReader(event){
47 //only run on #stop button
48 if(event.target.id !== 'stop')
49 return;
50
51 end();
52}
53
54function end(){
55 //clear the interval

Callers 1

clickHandlerFunction · 0.85

Calls 1

endFunction · 0.85

Tested by

no test coverage detected