BasicOIDC/assets/js/base_login_page.js
2022-03-30 11:00:20 +02:00

6 lines
142 B
JavaScript

// Remove un-used alerts
document.querySelectorAll("[role=alert]").forEach(el => {
if(el.innerHTML.trim() === "")
el.remove();
})