mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2025-02-22 16:05:03 +08:00
ditch jQuery's fadeIn and fadeOut methods
This commit is contained in:
parent
9360271ca9
commit
c972d65f1e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user