Update code with changes from git diff
This commit is contained in:
@@ -29,3 +29,12 @@ const check = () => {
|
||||
}
|
||||
|
||||
['scroll', 'resize'].forEach(e => window.addEventListener(e, check))
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const links = document.querySelectorAll('a');
|
||||
links.forEach(function (link) {
|
||||
link.addEventListener('click', function (event) {
|
||||
// event.preventDefault();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user