MCPcopy Index your code
hub / github.com/ether/etherpad / updateCountDownTimerMessage

Function updateCountDownTimerMessage

src/static/js/pad_automatic_reconnect.ts:104–109  ·  view source on GitHub ↗
($modal, minutes, seconds)

Source from the content-addressed store, hash-verified

102};
103
104const updateCountDownTimerMessage = ($modal, minutes, seconds) => {
105 minutes = minutes < 10 ? `0${minutes}` : minutes;
106 seconds = seconds < 10 ? `0${seconds}` : seconds;
107
108 $modal.find('.timetoexpire').text(`${minutes}:${seconds}`);
109};
110
111// store number of tries to reconnect to server, in order to increase time to wait
112// until next try

Callers 1

createTimerForModalFunction · 0.85

Calls 2

textMethod · 0.80
findMethod · 0.80

Tested by

no test coverage detected