authelia/docs/assets/js/alert-init.js

5 lines
167 B
JavaScript
Raw Permalink Normal View History

Object.keys(localStorage).forEach(function(key) {
if (/^global-alert-/.test(key)) {
document.documentElement.setAttribute('data-global-alert', 'closed');
}
});