ditch jQuery's fadeIn and fadeOut methods

This commit is contained in:
Chaphasilor 2020-04-11 15:05:47 +02:00 committed by Ian Ramzy
parent 9360271ca9
commit c972d65f1e
1 changed files with 8 additions and 4 deletions

View File

@ -874,15 +874,19 @@ function startUp() {
var timedelay = 1;
function delayCheck() {
if (timedelay === 5) {
$(".multi-button").fadeOut();
$("#header").fadeOut();
// $(".multi-button").fadeOut();
// $("#header").fadeOut();
$(".multi-button").style = "display: none;";
$("#header").style = "display: none;";
timedelay = 1;
}
timedelay = timedelay + 1;
}
$(document).mousemove(function () {
$(".multi-button").fadeIn();
$("#header").fadeIn();
// $(".multi-button").fadeIn();
// $("#header").fadeIn();
$(".multi-button").style = "";
$("#header").style = "";
timedelay = 1;
clearInterval(_delay);
_delay = setInterval(delayCheck, 500);