mirror of
https://github.com/rehlds/metamod-r.org.git
synced 2025-01-26 19:37:55 +03:00
commit
65a5d6031f
@ -7,11 +7,11 @@
|
||||
burger.classList.toggle('is-active');
|
||||
menu.classList.toggle('is-active');
|
||||
});
|
||||
var dropdown = document.querySelector('.dropdown');
|
||||
/* var dropdown = document.querySelector('.dropdown');
|
||||
dropdown.addEventListener('click', function(event) {
|
||||
event.stopPropagation();
|
||||
dropdown.classList.toggle('is-active');
|
||||
});
|
||||
});*/
|
||||
var hellopreloader = document.getElementById("hellopreloader_preload");
|
||||
function fadeOutnojquery(el){el.style.opacity = 1;var interhellopreloader = setInterval(function(){el.style.opacity = el.style.opacity - 0.05;if (el.style.opacity <=0.05){ clearInterval(interhellopreloader);hellopreloader.style.display = "none";}},16);}window.onload = function(){setTimeout(function(){fadeOutnojquery(hellopreloader);},1000);};
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user