Hey i have a problem with the code:
$('a').click(function(link) {
link.preventDefault();
location = this.href;
$('body').fadeOut('slow', open);
});
function more() {
window.location = location;
}
It's writen in Jquery but i will convert it to vanilla js. Can somone help me with it?