MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / showIndicator

Function showIndicator

src/modules/uiLog.js:42–49  ·  view source on GitHub ↗
(duration = 2000)

Source from the content-addressed store, hash-verified

40}
41
42function showIndicator(duration = 2000) {
43 if (logTimer) {
44 clearTimeout(logTimer);
45 } else {
46 setBadge();
47 }
48 logTimer = setTimeout(clearBadge, duration);
49}
50
51function setBadge() {
52 mvelo.action.state({

Callers 1

pushFunction · 0.85

Calls 1

setBadgeFunction · 0.85

Tested by

no test coverage detected