portails/assets/js/alert-init.js

5 lines
167 B
JavaScript

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