ENHANCEMENT: backgrounds are so overrated
This commit is contained in:
parent
9d80ffe3d3
commit
b65ae0ab71
@ -2,7 +2,6 @@ document.addEventListener("readystatechange", event => {
|
||||
if(event.target.readyState === 'complete') {
|
||||
initOverflow();
|
||||
initExternalLinks();
|
||||
initBackground();
|
||||
}
|
||||
});
|
||||
|
||||
@ -21,8 +20,4 @@ function initExternalLinks() {
|
||||
})
|
||||
}
|
||||
|
||||
function initBackground() {
|
||||
let text = document.querySelector('.background .background-content').innerHTML;
|
||||
document.querySelector('.background .background-content').innerHTML = text + text + text;
|
||||
}
|
||||
const isExternalURL = (url) => new URL(url).origin !== location.origin;
|
Loading…
Reference in New Issue
Block a user