MCPcopy Index your code
hub / github.com/bugy/script-server / showError

Function showError

web-src/src/login/login.js:230–237  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

228}
229
230function showError(text) {
231 const label = document.getElementsByClassName('login-info-label')[0];
232 label.innerText = text;
233
234 if (text) {
235 addClass(label, 'error');
236 }
237}
238
239function hideError() {
240 showError('');

Callers 5

onLoadFunction · 0.85
processCurrentOauthStateFunction · 0.85
onSuccessFunction · 0.85
onErrorFunction · 0.85
hideErrorFunction · 0.85

Calls 1

addClassFunction · 0.90

Tested by

no test coverage detected