mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 14:30:48 +00:00
Nuovo archivio + snellimenti
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
document.querySelectorAll('img').forEach(img => {
|
||||
img.addEventListener('error', function () {
|
||||
const fallback = this.getAttribute('data-fallback');
|
||||
if (fallback && this.src !== fallback) {
|
||||
this.src = fallback;
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user