BasicOIDC/assets/js/base_login_page.js

6 lines
142 B
JavaScript
Raw Normal View History

2022-03-30 09:00:20 +00:00
// Remove un-used alerts
document.querySelectorAll("[role=alert]").forEach(el => {
if(el.innerHTML.trim() === "")
el.remove();
})