5 lines
167 B
JavaScript
5 lines
167 B
JavaScript
![]() |
Object.keys(localStorage).forEach(function(key) {
|
||
|
if (/^global-alert-/.test(key)) {
|
||
|
document.documentElement.setAttribute('data-global-alert', 'closed');
|
||
|
}
|
||
|
});
|