mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
dev day #89
This commit is contained in:
@@ -90,6 +90,19 @@ function cleanupDuplicateBlocks(){
|
||||
} catch(e) { /* no-op */ }
|
||||
}
|
||||
|
||||
function cleanupDuplicateBlocks(){
|
||||
try {
|
||||
var footers = document.querySelectorAll('.lte-footer-wrapper');
|
||||
for (var i = 1; i < footers.length; i++) {
|
||||
footers[i].remove();
|
||||
}
|
||||
var grids = document.querySelectorAll('.lte-blog-wrap .blog.blog-block');
|
||||
for (var j = 1; j < grids.length; j++) {
|
||||
grids[j].remove();
|
||||
}
|
||||
} catch(e) { /* no-op */ }
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user